mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 09:12:44 +03:00
Remove redundant code.
This commit is contained in:
parent
7659708d55
commit
55d2e1126a
@ -996,15 +996,6 @@ static void gui_window_update_extent(struct gui_window *g)
|
||||
flags = info.flags & (wimp_WINDOW_HSCROLL | wimp_WINDOW_VSCROLL);
|
||||
g->update_extent = true;
|
||||
ro_gui_window_open(PTR_WIMP_OPEN(&info));
|
||||
|
||||
state.w = g->window;
|
||||
error = xwimp_get_window_state(&state);
|
||||
if (error) {
|
||||
LOG(("xwimp_get_window_state: 0x%x: %s",
|
||||
error->errnum, error->errmess));
|
||||
warn_user("WimpError", error->errmess);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user