diff options
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r-- | desktop/hotlist.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index cce69be8e..e344b3b57 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -1232,6 +1232,11 @@ nserror hotlist_init(struct core_window_callback_table *cw_t, { nserror err; + err = treeview_init(); + if (err != NSERROR_OK) { + return err; + } + LOG("Loading hotlist"); hl_ctx.tree = NULL; @@ -1298,6 +1303,11 @@ nserror hotlist_fini(const char *path) if (hl_ctx.fields[i].field != NULL) lwc_string_unref(hl_ctx.fields[i].field); + err = treeview_fini(); + if (err != NSERROR_OK) { + return err; + } + LOG("Finalised hotlist"); return err; |