From 52ad2c1e2523b28aa5363656fbbef20e97665cce Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 6 Oct 2011 23:31:55 +0000 Subject: initial favicon support svn path=/trunk/netsurf/; revision=12975 --- gtk/scaffolding.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'gtk/scaffolding.c') diff --git a/gtk/scaffolding.c b/gtk/scaffolding.c index 5c0366c08..b9a4b0909 100644 --- a/gtk/scaffolding.c +++ b/gtk/scaffolding.c @@ -2254,14 +2254,9 @@ void nsgtk_scaffolding_set_top_level (struct gui_window *gw) nsgtk_search_set_forward_state(true, bw); nsgtk_search_set_back_state(true, bw); - /* Ensure the window's title bar as well as favicon are updated */ + /* Ensure the window's title bar is updated */ if (bw->current_content != NULL) { - gui_window_set_title(gw, - content_get_title(bw->current_content)); - - if (content_get_type(bw->current_content) == CONTENT_HTML) - gui_window_set_icon(gw, - html_get_favicon(bw->current_content)); + gui_window_set_title(gw, content_get_title(bw->current_content)); } } -- cgit v1.2.3