mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 09:12:44 +03:00
Remove more dead code.
This commit is contained in:
parent
55d2e1126a
commit
c86c772ce6
@ -972,8 +972,6 @@ static void gui_window_update_extent(struct gui_window *g)
|
||||
{
|
||||
os_error *error;
|
||||
wimp_window_info info;
|
||||
wimp_window_state state;
|
||||
unsigned int flags;
|
||||
|
||||
assert(g);
|
||||
|
||||
@ -992,8 +990,7 @@ static void gui_window_update_extent(struct gui_window *g)
|
||||
info.yscroll += scroll;
|
||||
}
|
||||
|
||||
/* only schedule a reformat if we've gained/lost scrollbars */
|
||||
flags = info.flags & (wimp_WINDOW_HSCROLL | wimp_WINDOW_VSCROLL);
|
||||
/* Handle change of extents */
|
||||
g->update_extent = true;
|
||||
ro_gui_window_open(PTR_WIMP_OPEN(&info));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user