From c359bd977487b3ea8cd28724f9abc0b5f22acab0 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 25 Apr 2017 12:06:09 +0100 Subject: Cocoa: Update for core hotlist API change. --- frontends/cocoa/desktop-tree.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/cocoa/desktop-tree.m b/frontends/cocoa/desktop-tree.m index c3c729660..a010c6fdc 100644 --- a/frontends/cocoa/desktop-tree.m +++ b/frontends/cocoa/desktop-tree.m @@ -139,7 +139,7 @@ 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(tree_hotlist_path); + err = hotlist_init(tree_hotlist_path, 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); @@ -177,7 +177,7 @@ static bool treeview_test_fini(struct tree *tree) guit->misc->warning("Couldn't finalise cookie manager.", 0); break; case TREE_HOTLIST: - err = hotlist_fini(tree_hotlist_path); + err = hotlist_fini(); if (err != NSERROR_OK) guit->misc->warning("Couldn't finalise hotlist.", 0); break; -- cgit v1.2.3