aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favicon-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-29 20:13:10 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-29 20:13:10 +0800
commitf180950b607535839b49815158e0981556148625 (patch)
tree3e74bc0dfa6ebd5d6b2686d076f09c9809f9f05d /src/ephy-favicon-action.c
parent180ab006960fe139894d8c51a0781ca3c33340ab (diff)
downloadgsoc2013-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.
Diffstat (limited to 'src/ephy-favicon-action.c')
-rw-r--r--src/ephy-favicon-action.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}