From 32d2dda01c097be6a214499afa91d99bd198559e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 29 Dec 2016 15:00:07 +0000 Subject: Old tree code compat layer: Update so it still builds. --- desktop/tree.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'desktop') 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 && -- cgit v1.2.3