diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-04-25 12:06:09 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-04-25 12:06:09 +0100 |
commit | c359bd977487b3ea8cd28724f9abc0b5f22acab0 (patch) | |
tree | 6a630e04273f0d93bc880d28c9366dd989c6fc83 /frontends | |
parent | 229f6b5f2352a1843e924eef8b19e9d379b39f45 (diff) | |
download | netsurf-c359bd977487b3ea8cd28724f9abc0b5f22acab0.tar.gz netsurf-c359bd977487b3ea8cd28724f9abc0b5f22acab0.tar.bz2 |
Cocoa: Update for core hotlist API change.
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/cocoa/desktop-tree.m | 4 |
1 files 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; |