summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/unit.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-04-29 00:01:22 +0000
committerJabiertxof <jtx@jtx>2017-04-29 00:01:22 +0000
commite5601e5e84df30c40d93271fd69cecd31391e309 (patch)
tree7408c6a5bb33c58d1757ef9ce85041e532bd5c5e /src/live_effects/parameter/unit.cpp
parentUpdate to trunk (diff)
downloadinkscape-e5601e5e84df30c40d93271fd69cecd31391e309.tar.gz
inkscape-e5601e5e84df30c40d93271fd69cecd31391e309.zip
Rewrite UX
(bzr r15620.1.12)
Diffstat (limited to 'src/live_effects/parameter/unit.cpp')
-rw-r--r--src/live_effects/parameter/unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/unit.cpp b/src/live_effects/parameter/unit.cpp
index b6ea99bfe..b78b75dbf 100644
--- a/src/live_effects/parameter/unit.cpp
+++ b/src/live_effects/parameter/unit.cpp
@@ -55,9 +55,9 @@ UnitParam::param_set_default()
}
void
-UnitParam::param_update_default(const Glib::ustring default_unit)
+UnitParam::param_update_default(const gchar * default_unit)
{
- defunit = unit_table.getUnit(default_unit);
+ defunit = unit_table.getUnit((Glib::ustring)default_unit);
}
void