summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/bool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/bool.cpp')
-rw-r--r--src/live_effects/parameter/bool.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/live_effects/parameter/bool.cpp b/src/live_effects/parameter/bool.cpp
index 1a01f269b..bfbda2bfd 100644
--- a/src/live_effects/parameter/bool.cpp
+++ b/src/live_effects/parameter/bool.cpp
@@ -57,15 +57,13 @@ BoolParam::param_readSVGValue(const gchar * strvalue)
gchar *
BoolParam::param_getSVGValue() const
{
- gchar * str = g_strdup(value ? "true" : "false");
- return str;
+ return g_strdup(value ? "true" : "false");
}
gchar *
BoolParam::param_getDefaultSVGValue() const
{
- gchar * str = g_strdup(defvalue ? "true" : "false");
- return str;
+ return g_strdup(defvalue ? "true" : "false");
}
Gtk::Widget *