diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-08-04 23:41:22 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-08-04 23:41:22 +0100 |
commit | 189b7b45fb9805d1beae9506cac2c001bd680470 (patch) | |
tree | 96d184587369fd4d0968ff4e0bae4ca0055a1fa9 /frontends/gtk/gui.c | |
parent | 73b81a59ccaf09f695a643eae06fb510ec4559b4 (diff) | |
download | netsurf-189b7b45fb9805d1beae9506cac2c001bd680470.tar.gz netsurf-189b7b45fb9805d1beae9506cac2c001bd680470.tar.bz2 |
convert GTK global history to use GTK core window
Diffstat (limited to 'frontends/gtk/gui.c')
-rw-r--r-- | frontends/gtk/gui.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c index 0ed32e9d6..1f22b6076 100644 --- a/frontends/gtk/gui.c +++ b/frontends/gtk/gui.c @@ -301,12 +301,6 @@ static nserror nsgtk_init(int argc, char** argv, char **respath) LOG("Set CSS DPI to %d", browser_get_dpi()); /* Initialise top level UI elements */ - error = nsgtk_history_init(); - if (error != NSERROR_OK) { - LOG("Unable to initialise global history window."); - return error; - } - error = nsgtk_download_init(); if (error != NSERROR_OK) { LOG("Unable to initialise download window."); @@ -449,7 +443,12 @@ static void gui_quit(void) messages_get_errorcode(res)); } - nsgtk_history_destroy(); + res = nsgtk_global_history_destroy(); + if (res != NSERROR_OK) { + LOG("Error finalising global history viewer: %s", + messages_get_errorcode(res)); + } + nsgtk_hotlist_destroy(); free(nsgtk_config_home); |