aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-filter-bar.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-01-29 09:57:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-01-29 09:57:56 +0800
commit085ce3b2f3662d4ff3a2be8aea629953571b2a8b (patch)
tree0ea7e5051f453187a0bd441bb09b65f7744bf2d5 /widgets/misc/e-filter-bar.c
parent267c0f583519f74c50670072ea931c897b1fcb48 (diff)
downloadgsoc2013-evolution-085ce3b2f3662d4ff3a2be8aea629953571b2a8b.tar
gsoc2013-evolution-085ce3b2f3662d4ff3a2be8aea629953571b2a8b.tar.gz
gsoc2013-evolution-085ce3b2f3662d4ff3a2be8aea629953571b2a8b.tar.bz2
gsoc2013-evolution-085ce3b2f3662d4ff3a2be8aea629953571b2a8b.tar.lz
gsoc2013-evolution-085ce3b2f3662d4ff3a2be8aea629953571b2a8b.tar.xz
gsoc2013-evolution-085ce3b2f3662d4ff3a2be8aea629953571b2a8b.tar.zst
gsoc2013-evolution-085ce3b2f3662d4ff3a2be8aea629953571b2a8b.zip
Same.
2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_get_property): Same. * e-filter-bar.c (get_property): Use g_value_set_string_take_ownership() instead of g_value_take_string() since we need snaps to work with glib-2.0 earlier than 2.3.x. svn path=/trunk/; revision=24507
Diffstat (limited to 'widgets/misc/e-filter-bar.c')
-rw-r--r--widgets/misc/e-filter-bar.c4
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: