summaryrefslogtreecommitdiff
path: root/gtk/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-07-27 18:06:07 +0100
committerVincent Sanders <vince@kyllikki.org>2014-07-27 18:07:00 +0100
commit55669387ffcb802307e91deb7027f17b8de20e00 (patch)
treec567160e413d1fdc3160708f98e1120b835fa791 /gtk/gui.c
parent06a1d75d52dc533474194c0c9b33eecf09b59068 (diff)
downloadnetsurf-55669387ffcb802307e91deb7027f17b8de20e00.tar.gz
netsurf-55669387ffcb802307e91deb7027f17b8de20e00.tar.bz2
clean up gtk scaffolding interface, remove lots of cruft and globals
Diffstat (limited to 'gtk/gui.c')
-rw-r--r--gtk/gui.c5
1 files changed, 1 insertions, 4 deletions
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));