From 62a2b36c72381b631bbb7409d852a55c71b7bc89 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Wed, 11 Jun 2003 21:32:40 +0000 Subject: take ownership of the duplicate string. 2003-06-11 Larry Ewing * e-search-bar.c (impl_get_property): take ownership of the duplicate string. svn path=/trunk/; revision=21417 --- 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 f4a27dea80..b87fdb2d00 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 (value, e_search_bar_get_text (esb)); + g_value_set_string_take_ownership (value, e_search_bar_get_text (esb)); break; default: -- cgit