Removed window_set_icon

svn path=/trunk/netsurf/; revision=13124
This commit is contained in:
Ole Loots 2011-11-05 01:49:55 +00:00
parent 5786f7eb17
commit 5f10479c26
1 changed files with 1 additions and 6 deletions

View File

@ -578,12 +578,7 @@ void
gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
{
/* Untestet, favicon support has been dropped, so this is dead code. */
LOG((""));
struct bitmap *icon_bitmap;
icon_bitmap = (icon != NULL) ? content_get_bitmap(icon) : NULL;
if (icon_bitmap != NULL) {
window_set_icon( g, icon_bitmap );
}
g->icon = (icon != NULL) ? content_get_bitmap(icon) : NULL;
}