From f13a11e31fa6a4c3fd5966a61dbc82cf94a486b3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 8 Sep 2013 19:04:45 +0100 Subject: Destroy treeviews. --- riscos/hotlist.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'riscos/hotlist.c') 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. -- cgit v1.2.3