mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
Remove dead code.
svn path=/trunk/netsurf/; revision=12715
This commit is contained in:
parent
235bc41941
commit
e1f20d37c5
28
gtk/window.c
28
gtk/window.c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user