summaryrefslogtreecommitdiff
path: root/riscos/global_history.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/global_history.c
parent683ff4d1b51eb46cea9889c04a89edf4ad564c5e (diff)
downloadnetsurf-f13a11e31fa6a4c3fd5966a61dbc82cf94a486b3.tar.gz
netsurf-f13a11e31fa6a4c3fd5966a61dbc82cf94a486b3.tar.bz2
Destroy treeviews.
Diffstat (limited to 'riscos/global_history.c')
-rw-r--r--riscos/global_history.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/riscos/global_history.c b/riscos/global_history.c
index dfabbe9cf..840271f93 100644
--- a/riscos/global_history.c
+++ b/riscos/global_history.c
@@ -160,6 +160,18 @@ void ro_gui_global_history_postinitialise(void)
}
/**
+ * Destroy the global history window.
+ */
+
+void ro_gui_global_history_destroy(void)
+{
+ if (global_history_window.tv == NULL)
+ return;
+
+ ro_treeview_destroy(global_history_window.tv);
+}
+
+/**
* Open the global history window.
*/