summaryrefslogtreecommitdiff
path: root/frontends/gtk/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-07-31 00:16:11 +0100
committerVincent Sanders <vince@kyllikki.org>2016-07-31 13:25:20 +0100
commit51725592c96b3cb94aa70761b10960c738815534 (patch)
tree788e41683c1a31d0f0db1642caf281ac50375800 /frontends/gtk/gui.c
parentca5b165c85e1e8cc7df286b6a0a9a061de99bcaa (diff)
downloadnetsurf-51725592c96b3cb94aa70761b10960c738815534.tar.gz
netsurf-51725592c96b3cb94aa70761b10960c738815534.tar.bz2
make gtk cookies manager use core window API
Diffstat (limited to 'frontends/gtk/gui.c')
-rw-r--r--frontends/gtk/gui.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c
index d57ebdf5a..0ed32e9d6 100644
--- a/frontends/gtk/gui.c
+++ b/frontends/gtk/gui.c
@@ -434,13 +434,21 @@ static void nsgtk_main(void)
static void gui_quit(void)
{
+ nserror res;
+
LOG("Quitting GUI");
/* Ensure all scaffoldings are destroyed before we go into exit */
nsgtk_download_destroy();
urldb_save_cookies(nsoption_charp(cookie_jar));
urldb_save(nsoption_charp(url_file));
- nsgtk_cookies_destroy();
+
+ res = nsgtk_cookies_destroy();
+ if (res != NSERROR_OK) {
+ LOG("Error finalising cookie viewer: %s",
+ messages_get_errorcode(res));
+ }
+
nsgtk_history_destroy();
nsgtk_hotlist_destroy();