summaryrefslogtreecommitdiff
path: root/frontends/gtk/gui.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-12-29 14:49:39 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-12-29 14:49:39 +0000
commit4e5e9f1f5af2e526a87f38936aed0c4c100b5051 (patch)
treefbe70ca28de37caed07c120d7cefa53aef782f6d /frontends/gtk/gui.c
parentb6be869f19994070ec522d19455ea7eb47965be4 (diff)
downloadnetsurf-4e5e9f1f5af2e526a87f38936aed0c4c100b5051.tar.gz
netsurf-4e5e9f1f5af2e526a87f38936aed0c4c100b5051.tar.bz2
gtk: Update for new hotlist API.
This allows the hotlist backend to work before the hotlist window opens.
Diffstat (limited to 'frontends/gtk/gui.c')
-rw-r--r--frontends/gtk/gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c
index d128dc24f..c08ab0ae4 100644
--- a/frontends/gtk/gui.c
+++ b/frontends/gtk/gui.c
@@ -49,6 +49,7 @@
#include "desktop/save_complete.h"
#include "desktop/save_pdf.h"
#include "desktop/searchweb.h"
+#include "desktop/hotlist.h"
#include "gtk/compat.h"
#include "gtk/warn.h"
@@ -290,6 +291,7 @@ 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));
/* 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