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/ChangeLog | 4 ++++ widgets/misc/e-search-bar.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'widgets/misc') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index e69de29bb2..7b4d3f426a 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -0,0 +1,4 @@ +2003-06-11 Larry Ewing + + * e-search-bar.c (impl_get_property): + 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