summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/fontbutton.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/fontbutton.cpp
parentUpdate to trunk (diff)
downloadinkscape-e5601e5e84df30c40d93271fd69cecd31391e309.tar.gz
inkscape-e5601e5e84df30c40d93271fd69cecd31391e309.zip
Rewrite UX
(bzr r15620.1.12)
Diffstat (limited to '')
-rw-r--r--src/live_effects/parameter/fontbutton.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/live_effects/parameter/fontbutton.cpp b/src/live_effects/parameter/fontbutton.cpp
index 64c203093..5ec98df8c 100644
--- a/src/live_effects/parameter/fontbutton.cpp
+++ b/src/live_effects/parameter/fontbutton.cpp
@@ -33,9 +33,11 @@ FontButtonParam::param_set_default()
{
param_setValue(defvalue);
}
+
void
-FontButtonParam::param_update_default(const Glib::ustring default_value){
- defvalue = default_value;
+FontButtonParam::param_update_default(const gchar * default_value)
+{
+ defvalue = (Glib::ustring)strdup(default_value);
}
bool
@@ -76,6 +78,7 @@ FontButtonParam::param_setValue(const Glib::ustring newvalue)
value = newvalue;
}
+
} /* namespace LivePathEffect */
} /* namespace Inkscape */