diff options
-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; } } |