From 55669387ffcb802307e91deb7027f17b8de20e00 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 27 Jul 2014 18:06:07 +0100 Subject: clean up gtk scaffolding interface, remove lots of cruft and globals --- gtk/gui.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gtk/gui.c') diff --git a/gtk/gui.c b/gtk/gui.c index 95e503af2..7a8c32186 100644 --- a/gtk/gui.c +++ b/gtk/gui.c @@ -533,10 +533,7 @@ static void gui_quit(void) LOG(("Quitting GUI")); /* Ensure all scaffoldings are destroyed before we go into exit */ - while (scaf_list != NULL) { - nsgtk_scaffolding_destroy(scaf_list); - } - + nsgtk_scaffolding_destroy(); nsgtk_download_destroy(); urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_file)); -- cgit v1.2.3