aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-01-29 06:03:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-01-29 06:03:15 +0800
commit55fd08582cfb6ae2d6103e53f7a9d0368596fb84 (patch)
treeae6b324f9f672688419420cb27781d2a4a338b80 /widgets/misc/e-search-bar.c
parent5ffd488adbe5ce87ded0d2d5775eb04e45200237 (diff)
downloadgsoc2013-evolution-55fd08582cfb6ae2d6103e53f7a9d0368596fb84.tar
gsoc2013-evolution-55fd08582cfb6ae2d6103e53f7a9d0368596fb84.tar.gz
gsoc2013-evolution-55fd08582cfb6ae2d6103e53f7a9d0368596fb84.tar.bz2
gsoc2013-evolution-55fd08582cfb6ae2d6103e53f7a9d0368596fb84.tar.lz
gsoc2013-evolution-55fd08582cfb6ae2d6103e53f7a9d0368596fb84.tar.xz
gsoc2013-evolution-55fd08582cfb6ae2d6103e53f7a9d0368596fb84.tar.zst
gsoc2013-evolution-55fd08582cfb6ae2d6103e53f7a9d0368596fb84.zip
Added a new property "state" which is READ-WRITE so that we can
2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r--widgets/misc/e-search-bar.c2
1 files changed, 1 insertions, 1 deletions
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: