diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-03-03 00:12:41 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-03-26 17:48:34 +0000 |
| commit | 95b1c7b549605d7c6ce6623cc4cd121ed7c51a64 (patch) | |
| tree | 1c38b4fe6baabbf45c55e0929516dd825f7d6847 /src/live_effects/parameter/bool.cpp | |
| parent | Allow building with USE_PANGO_WIN32. (diff) | |
| download | inkscape-95b1c7b549605d7c6ce6623cc4cd121ed7c51a64.tar.gz inkscape-95b1c7b549605d7c6ce6623cc4cd121ed7c51a64.zip | |
Base LPE refactor
Diffstat (limited to 'src/live_effects/parameter/bool.cpp')
| -rw-r--r-- | src/live_effects/parameter/bool.cpp | 6 |
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 * |
