Remove redundant close window calls.

svn path=/trunk/netsurf/; revision=3247
This commit is contained in:
Richard Wilson 2007-04-07 22:53:59 +00:00
parent 9c3dc045a0
commit 9e3c519c2e
3 changed files with 0 additions and 3 deletions

View File

@ -164,7 +164,6 @@ void ro_gui_401login_close(wimp_w w)
free(session->url);
free(session);
ro_gui_dialog_close(w);
error = xwimp_delete_window(w);
if (error) {
LOG(("xwimp_delete_window: 0x%x:%s",

View File

@ -156,7 +156,6 @@ void ro_gui_configure_close(wimp_w w)
tool->open = false;
if (tool->finalise)
tool->finalise(w);
ro_gui_dialog_close(w);
break;
}
}

View File

@ -1335,7 +1335,6 @@ bool ro_gui_download_window_destroy(struct gui_download_window *dw, bool quit)
dw->next->prev = dw->prev;
/* delete window */
ro_gui_dialog_close(dw->window);
error = xwimp_delete_window(dw->window);
if (error) {
LOG(("xwimp_delete_window: 0x%x: %s",