From f180950b607535839b49815158e0981556148625 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 29 Jan 2004 12:13:10 +0000 Subject: Fix property getter of "icon" property. 2004-01-29 Christian Persch * src/ephy-favicon-action.c: (ephy_favicon_action_set_property), (ephy_favicon_action_get_property): Fix property getter of "icon" property. --- src/ephy-favicon-action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } } -- cgit v1.2.3