From a137de40a9871f849a7a71a2d9af9b417751e532 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 25 Apr 2017 12:08:32 +0100 Subject: GTK: Update for core hotlist API change. --- frontends/gtk/gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontends') 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)); -- cgit v1.2.3