diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-favicon-action.c | 4 |
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; } } |