diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-12-29 14:59:30 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-12-29 15:01:07 +0000 |
commit | c60ab801f3cdd4cb7519245a9084fa7c6d4f66a8 (patch) | |
tree | fa516e7bb5dcde8a04667db219a62209df283009 /frontends/windows/main.c | |
parent | 512a4335dae3fc27675cc6ba4ccfd219f20bfdba (diff) | |
download | netsurf-c60ab801f3cdd4cb7519245a9084fa7c6d4f66a8.tar.gz netsurf-c60ab801f3cdd4cb7519245a9084fa7c6d4f66a8.tar.bz2 |
Windows: Update for new hotlist API.
This allows the hotlist backend to work before the hotlist window opens.
Diffstat (limited to 'frontends/windows/main.c')
-rw-r--r-- | frontends/windows/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/windows/main.c b/frontends/windows/main.c index da0fcc193..442c71b06 100644 --- a/frontends/windows/main.c +++ b/frontends/windows/main.c @@ -38,6 +38,7 @@ #include "netsurf/fetch.h" #include "netsurf/misc.h" #include "netsurf/netsurf.h" +#include "desktop/hotlist.h" #include "windows/findfile.h" #include "windows/file.h" @@ -370,6 +371,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd) urldb_load(nsoption_charp(url_file)); urldb_load_cookies(nsoption_charp(cookie_file)); + hotlist_init(nsoption_charp(hotlist_path)); ret = nsws_create_main_class(hInstance); ret = nsws_create_drawable_class(hInstance); |