diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-08-06 17:08:21 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-08-06 17:08:21 +0100 |
commit | 8547452232e1cc7664fe3af7cbcfc4cead9d7d92 (patch) | |
tree | faf5d18f363c2209fd59be92ad88adee3cf6a41f /frontends/gtk/gui.c | |
parent | 597d167b9d06d417872db81c8d328318e1b0d85a (diff) | |
download | netsurf-8547452232e1cc7664fe3af7cbcfc4cead9d7d92.tar.gz netsurf-8547452232e1cc7664fe3af7cbcfc4cead9d7d92.tar.bz2 |
convert GTK hotlist to use GTK core window
Diffstat (limited to 'frontends/gtk/gui.c')
-rw-r--r-- | frontends/gtk/gui.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c index 8d0bb75d7..61560ddab 100644 --- a/frontends/gtk/gui.c +++ b/frontends/gtk/gui.c @@ -307,12 +307,6 @@ static nserror nsgtk_init(int argc, char** argv, char **respath) return error; } - error = nsgtk_hotlist_init(); - if (error != NSERROR_OK) { - LOG("Unable to initialise hotlist window."); - return error; - } - /* If there is a url specified on the command line use it */ if (argc > 1) { struct stat fs; @@ -449,7 +443,11 @@ static void gui_quit(void) messages_get_errorcode(res)); } - nsgtk_hotlist_destroy(); + res = nsgtk_hotlist_destroy(); + if (res != NSERROR_OK) { + LOG("Error finalising hotlist viewer: %s", + messages_get_errorcode(res)); + } free(nsgtk_config_home); |