aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-node-view.c
diff options
context:
space:
mode:
authorSergio Villar Senin <svillar@igalia.com>2012-08-24 18:14:05 +0800
committerSergio Villar Senin <svillar@igalia.com>2012-09-03 18:15:59 +0800
commitb0c5be1011f5fed19c6979b63e9d12475fd381d3 (patch)
tree22c661dfc0dcfc4c010e3ff77249290e377e7eff /lib/widgets/ephy-node-view.c
parentc077cdea4bcdb95b58b7fff0b9dc7cce3aaa2982 (diff)
downloadgsoc2013-epiphany-b0c5be1011f5fed19c6979b63e9d12475fd381d3.tar.gz
gsoc2013-epiphany-b0c5be1011f5fed19c6979b63e9d12475fd381d3.tar.zst
gsoc2013-epiphany-b0c5be1011f5fed19c6979b63e9d12475fd381d3.zip
ephy-bookmarks-editor: repaint the favicon on "icon-loaded"
Fixes a crash when epy is started with the bookmarks window open. The old code was trying to set the favicon in an already released GValue. Instead of doing that, we now force a repaint of the row once we get the favicon. https://bugzilla.gnome.org/show_bug.cgi?id=673795
Diffstat (limited to 'lib/widgets/ephy-node-view.c')
-rw-r--r--lib/widgets/ephy-node-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c
index 1be6c93d0..53830e1b2 100644
--- a/lib/widgets/ephy-node-view.c
+++ b/lib/widgets/ephy-node-view.c
@@ -1304,7 +1304,7 @@ ephy_node_view_add_column (EphyNodeView *view,
if (icon_func)
{
icon_column = ephy_tree_model_node_add_func_column
- (view->priv->nodemodel, GDK_TYPE_PIXBUF, icon_func, NULL);
+ (view->priv->nodemodel, GDK_TYPE_PIXBUF, icon_func, view);
renderer = gtk_cell_renderer_pixbuf_new ();
gtk_tree_view_column_pack_start (gcolumn, renderer, FALSE);