summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-07 13:20:47 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-07 13:20:47 +0000
commit29321bf3bd21c8ae6eebea00638ab3d1fd48b5e9 (patch)
tree8386e7619d6dda967590d91361fd498800cf605e
parent234301ad236bea4b2afd2c1499f6d48f3939b2d2 (diff)
downloadnetsurf-29321bf3bd21c8ae6eebea00638ab3d1fd48b5e9.tar.gz
netsurf-29321bf3bd21c8ae6eebea00638ab3d1fd48b5e9.tar.bz2
Ensure we only update the favicon rendering when the icon being updated is the one in the active tab.
svn path=/trunk/netsurf/; revision=11244
-rw-r--r--gtk/gtk_scaffolding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtk_scaffolding.c b/gtk/gtk_scaffolding.c
index 073d85776..c767f5414 100644
--- a/gtk/gtk_scaffolding.c
+++ b/gtk/gtk_scaffolding.c
@@ -1837,6 +1837,8 @@ void gui_window_set_icon(struct gui_window *_g, hlcache_handle *icon)
if (icon == NULL)
return;
+ if (g->top_level != _g)
+ return;
#ifdef WITH_BMP
if (content_get_type(icon) == CONTENT_ICO)