aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-09-03 16:31:01 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-03 16:31:01 +0800
commit15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5 (patch)
treee5f73ee12f476ba06833843c50338b237a1cbb2e /lib
parentc40d5bef446fe85438fd42cc9042a9b8fa95e277 (diff)
downloadgsoc2013-epiphany-15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5.tar
gsoc2013-epiphany-15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5.tar.gz
gsoc2013-epiphany-15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5.tar.bz2
gsoc2013-epiphany-15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5.tar.lz
gsoc2013-epiphany-15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5.tar.xz
gsoc2013-epiphany-15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5.tar.zst
gsoc2013-epiphany-15f5d26043fa4b9d8f83aaa0d13347b5a3218ec5.zip
ephy-overview-store: fix the setter for the default icon
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-overview-store.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/widgets/ephy-overview-store.c b/lib/widgets/ephy-overview-store.c
index 478bc1533..5ec9f9925 100644
--- a/lib/widgets/ephy-overview-store.c
+++ b/lib/widgets/ephy-overview-store.c
@@ -416,14 +416,18 @@ void
ephy_overview_store_set_default_icon (EphyOverviewStore *store,
GdkPixbuf *default_icon)
{
+ GdkPixbuf *new_default_icon;
+
if (store->priv->default_icon)
g_object_unref (store->priv->default_icon);
- store->priv->default_icon = ephy_overview_store_add_frame (store, default_icon);
+ new_default_icon = ephy_overview_store_add_frame (store, default_icon);
gtk_tree_model_foreach (GTK_TREE_MODEL (store),
(GtkTreeModelForeachFunc) set_default_icon_helper,
- NULL);
+ new_default_icon);
+
+ store->priv->default_icon = new_default_icon;
g_object_notify (G_OBJECT (store), "default-icon");
}