summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-12-29 15:00:07 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-12-29 15:01:07 +0000
commit32d2dda01c097be6a214499afa91d99bd198559e (patch)
treeb81020470cb1abcf52a8b5a8d3def1178a5d37f8 /desktop
parentc60ab801f3cdd4cb7519245a9084fa7c6d4f66a8 (diff)
downloadnetsurf-32d2dda01c097be6a214499afa91d99bd198559e.tar.gz
netsurf-32d2dda01c097be6a214499afa91d99bd198559e.tar.bz2
Old tree code compat layer: Update so it still builds.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/tree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/tree.c b/desktop/tree.c
index 6acf179da..b5f444ddb 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -139,10 +139,12 @@ static bool treeview_test_init(struct tree *tree)
guit->misc->warning("Couldn't init new global history.", 0);
break;
case TREE_HOTLIST:
- err = hotlist_init(&cw_t, (struct core_window *)tree,
- tree_hotlist_path);
+ err = hotlist_init(tree_hotlist_path);
if (err != NSERROR_OK)
guit->misc->warning("Couldn't init new hotlist.", 0);
+ err = hotlist_manager_init(&cw_t, (struct core_window *)tree);
+ if (err != NSERROR_OK)
+ guit->misc->warning("Couldn't init hotlist manager.", 0);
break;
case TREE_SSLCERT:
assert(ssl_current_session == NULL &&