diff options
Diffstat (limited to 'widgets/misc/e-filter-bar.c')
-rw-r--r-- | widgets/misc/e-filter-bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c index befd9d5d38..5cd1b14e20 100644 --- a/widgets/misc/e-filter-bar.c +++ b/widgets/misc/e-filter-bar.c @@ -550,7 +550,7 @@ get_property (GObject *object, guint property_id, GValue *value, GParamSpec *psp GString *out = g_string_new (""); filter_rule_build_code (efb->current_query, out); - g_value_take_string (value, out->str); + g_value_set_string_take_ownership (value, out->str); g_string_free (out, FALSE); } else { g_value_set_string (value, NULL); @@ -595,7 +595,7 @@ get_property (GObject *object, guint property_id, GValue *value, GParamSpec *psp text[n] = '\0'; xmlFree (xmlbuf); - g_value_take_string (value, text); + g_value_set_string_take_ownership (value, text); break; } default: |