diff options
author | Larry Ewing <lewing@ximian.com> | 2003-06-12 05:32:40 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2003-06-12 05:32:40 +0800 |
commit | 62a2b36c72381b631bbb7409d852a55c71b7bc89 (patch) | |
tree | 7a7761a9c4ac60354cb30e2847ccab3e4deb4fcf /widgets | |
parent | 65672ffc09eb33c2770b72695065f6834ce5dd34 (diff) | |
download | gsoc2013-evolution-62a2b36c72381b631bbb7409d852a55c71b7bc89.tar.gz gsoc2013-evolution-62a2b36c72381b631bbb7409d852a55c71b7bc89.tar.zst gsoc2013-evolution-62a2b36c72381b631bbb7409d852a55c71b7bc89.zip |
take ownership of the duplicate string.
2003-06-11 Larry Ewing <lewing@ximian.com>
* e-search-bar.c (impl_get_property): take ownership of the
duplicate string.
svn path=/trunk/; revision=21417
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <lewing@ximian.com> + + * 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: |