summaryrefslogtreecommitdiff
path: root/frontends/gtk/gui.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-04-25 12:08:32 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-04-25 12:08:32 +0100
commita137de40a9871f849a7a71a2d9af9b417751e532 (patch)
tree1d669ba7b6aec92a6e12fcedb917cfa42f8927da /frontends/gtk/gui.c
parentc359bd977487b3ea8cd28724f9abc0b5f22acab0 (diff)
downloadnetsurf-a137de40a9871f849a7a71a2d9af9b417751e532.tar.gz
netsurf-a137de40a9871f849a7a71a2d9af9b417751e532.tar.bz2
GTK: Update for core hotlist API change.
Diffstat (limited to 'frontends/gtk/gui.c')
-rw-r--r--frontends/gtk/gui.c5
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));