From 55fd08582cfb6ae2d6103e53f7a9d0368596fb84 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 28 Jan 2004 22:03:15 +0000 Subject: Added a new property "state" which is READ-WRITE so that we can 2004-01-28 Jeffrey Stedfast * e-filter-bar.c: Added a new property "state" which is READ-WRITE so that we can save/restore state in the mailer code if we want to. Sort of a work-in-progress toward fixing bug #53195. (class_init): Ported to use the GObject property stuff instead of the deprecated GtkArg stuff. (get_property): Ported from impl_get_arg(). (set_property): New object::set_property implementation to set the query state. svn path=/trunk/; revision=24502 --- widgets/misc/e-search-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/misc/e-search-bar.c') diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index d99a4de742..bc67298ce1 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -746,7 +746,7 @@ impl_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *ps break; case PROP_TEXT: - g_value_set_string_take_ownership (value, e_search_bar_get_text (esb)); + g_value_take_string (value, e_search_bar_get_text (esb)); break; default: -- cgit