diff options
Diffstat (limited to 'frontends/gtk/gui.c')
-rw-r--r-- | frontends/gtk/gui.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c index 63646b42d..a183e521f 100644 --- a/frontends/gtk/gui.c +++ b/frontends/gtk/gui.c @@ -292,7 +292,8 @@ static nserror nsgtk_init(int argc, char** argv, char **respath) urldb_load(nsoption_charp(url_file)); urldb_load_cookies(nsoption_charp(cookie_file)); - hotlist_init(nsoption_charp(hotlist_path)); + hotlist_init(nsoption_charp(hotlist_path), + nsoption_charp(hotlist_path)); /* The tree view system needs to know the screen's DPI, so we * find that out here, rather than when we create a first browser @@ -456,7 +457,7 @@ static void gui_quit(void) messages_get_errorcode(res)); } - res = hotlist_fini(nsoption_charp(hotlist_path)); + res = hotlist_fini(); if (res != NSERROR_OK) { LOG("Error finalising hotlist: %s", messages_get_errorcode(res)); |