summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/text.cpp')
-rw-r--r--src/live_effects/parameter/text.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp
index f40708917..3f41bfeed 100644
--- a/src/live_effects/parameter/text.cpp
+++ b/src/live_effects/parameter/text.cpp
@@ -115,6 +115,15 @@ TextParam::param_getSVGValue() const
return str;
}
+gchar *
+TextParam::param_getDefaultSVGValue() const
+{
+ Inkscape::SVGOStringStream os;
+ os << defvalue;
+ gchar * str = g_strdup(os.str().c_str());
+ return str;
+}
+
Gtk::Widget *
TextParam::param_newWidget()
{