diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-29 20:13:10 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-29 20:13:10 +0800 |
commit | f180950b607535839b49815158e0981556148625 (patch) | |
tree | 3e74bc0dfa6ebd5d6b2686d076f09c9809f9f05d | |
parent | 180ab006960fe139894d8c51a0781ca3c33340ab (diff) | |
download | gsoc2013-epiphany-f180950b607535839b49815158e0981556148625.tar gsoc2013-epiphany-f180950b607535839b49815158e0981556148625.tar.gz gsoc2013-epiphany-f180950b607535839b49815158e0981556148625.tar.bz2 gsoc2013-epiphany-f180950b607535839b49815158e0981556148625.tar.lz gsoc2013-epiphany-f180950b607535839b49815158e0981556148625.tar.xz gsoc2013-epiphany-f180950b607535839b49815158e0981556148625.tar.zst gsoc2013-epiphany-f180950b607535839b49815158e0981556148625.zip |
Fix property getter of "icon" property.
2004-01-29 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-favicon-action.c: (ephy_favicon_action_set_property),
(ephy_favicon_action_get_property):
Fix property getter of "icon" property.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-favicon-action.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,12 @@ 2004-01-29 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-favicon-action.c: (ephy_favicon_action_set_property), + (ephy_favicon_action_get_property): + + Fix property getter of "icon" property. + +2004-01-29 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/MozDownload.cpp: Fix mem leak. diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c index 0f2679bda..2ebdeb577 100644 --- a/src/ephy-favicon-action.c +++ b/src/ephy-favicon-action.c @@ -214,7 +214,7 @@ ephy_favicon_action_set_property (GObject *object, break; case PROP_ICON: g_free (fav->priv->icon); - fav->priv->icon = g_strdup (g_value_get_string (value)); + fav->priv->icon = g_value_dup_string (value); g_object_notify(object, "icon"); break; } @@ -236,7 +236,7 @@ ephy_favicon_action_get_property (GObject *object, g_value_set_object (value, fav->priv->window); break; case PROP_ICON: - g_value_set_object (value, fav->priv->icon); + g_value_set_string (value, fav->priv->icon); break; } } |