summaryrefslogtreecommitdiff
path: root/riscos/hotlist.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-08 19:04:45 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-08 19:04:45 +0100
commitf13a11e31fa6a4c3fd5966a61dbc82cf94a486b3 (patch)
tree11aa5015c8016d26fedab1b942b37896410495a4 /riscos/hotlist.c
parent683ff4d1b51eb46cea9889c04a89edf4ad564c5e (diff)
downloadnetsurf-f13a11e31fa6a4c3fd5966a61dbc82cf94a486b3.tar.gz
netsurf-f13a11e31fa6a4c3fd5966a61dbc82cf94a486b3.tar.bz2
Destroy treeviews.
Diffstat (limited to 'riscos/hotlist.c')
-rw-r--r--riscos/hotlist.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/riscos/hotlist.c b/riscos/hotlist.c
index d00e72479..9e86542b2 100644
--- a/riscos/hotlist.c
+++ b/riscos/hotlist.c
@@ -182,6 +182,19 @@ void ro_gui_hotlist_postinitialise(void)
ro_gui_hotlist_menu_warning);
}
+/**
+ * Destroy the hotlist window.
+ */
+
+void ro_gui_hotlist_destroy(void)
+{
+ if (hotlist_window.tv == NULL)
+ return;
+
+ tree_hotlist_path = nsoption_charp(hotlist_save);
+ ro_treeview_destroy(hotlist_window.tv);
+}
+
/**
* Open the hotlist window.