From 4e5e9f1f5af2e526a87f38936aed0c4c100b5051 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 29 Dec 2016 14:49:39 +0000 Subject: gtk: Update for new hotlist API. This allows the hotlist backend to work before the hotlist window opens. --- frontends/gtk/gui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'frontends/gtk/gui.c') 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 -- cgit v1.2.3