summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/text.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-04-14 22:20:13 +0000
committerJabiertxof <jtx@jtx>2017-04-14 22:20:13 +0000
commit3103b99b4cf6c1048c89f75e280761d8cd0ca1c2 (patch)
treea79bdf40cb476839681f10c61f51a3c4d860fcbc /src/live_effects/parameter/text.cpp
parentEllipses in Inkscape are defined by the center and the radius, but the (diff)
downloadinkscape-3103b99b4cf6c1048c89f75e280761d8cd0ca1c2.tar.gz
inkscape-3103b99b4cf6c1048c89f75e280761d8cd0ca1c2.zip
Allow set and reset default values of LPE parameters
(bzr r15620.1.1)
Diffstat (limited to 'src/live_effects/parameter/text.cpp')
-rw-r--r--src/live_effects/parameter/text.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp
index 5c4cdf4c6..8d526e4cc 100644
--- a/src/live_effects/parameter/text.cpp
+++ b/src/live_effects/parameter/text.cpp
@@ -50,9 +50,9 @@ TextParam::param_set_default()
}
void
-TextParam::param_update_default(Glib::ustring default_value)
+TextParam::param_update_default(const gchar * default_value)
{
- defvalue = default_value;
+ defvalue = (Glib::ustring)default_value;
}
void
@@ -130,7 +130,7 @@ TextParam::param_newWidget()
}
void
-TextParam::param_setValue(const Glib::ustring newvalue)
+TextParam::param_setValue(Glib::ustring newvalue)
{
param_effect->upd_params = true;
value = newvalue;