Remove dead code.

svn path=/trunk/netsurf/; revision=12715
This commit is contained in:
Michael Drake 2011-09-04 19:00:18 +00:00
parent 235bc41941
commit e1f20d37c5

View File

@ -615,32 +615,8 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
break;
}
switch (bw->browser_window_type) {
case BROWSER_WINDOW_FRAMESET:
if (g->scrolledwindow)
gtk_scrolled_window_set_policy(g->scrolledwindow,
GTK_POLICY_NEVER,
GTK_POLICY_NEVER);
break;
case BROWSER_WINDOW_FRAME:
if (g->scrolledwindow)
gtk_scrolled_window_set_policy(g->scrolledwindow,
scrollpolicy,
scrollpolicy);
break;
case BROWSER_WINDOW_NORMAL:
if (g->scrolledwindow)
gtk_scrolled_window_set_policy(g->scrolledwindow,
scrollpolicy,
scrollpolicy);
break;
case BROWSER_WINDOW_IFRAME:
if (g->scrolledwindow)
gtk_scrolled_window_set_policy(g->scrolledwindow,
scrollpolicy,
scrollpolicy);
break;
}
gtk_scrolled_window_set_policy(g->scrolledwindow,
scrollpolicy, scrollpolicy);
/* Attach ourselves to the list (push_top) */
if (window_list)