From 54d25de3719137a71af3415d952f1f8eb1296d4c Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 30 Jul 2004 16:16:07 +0000 Subject: [project @ 2004-07-30 16:16:07 by bursa] Implement content_quit() and ro_gui_window_quit() to free resources on quit. svn path=/import/netsurf/; revision=1164 --- riscos/window.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index 0aeaa7c8a..bd321638c 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -302,6 +302,17 @@ void gui_window_destroy(struct gui_window *g) } +/** + * Destroy all browser windows. + */ + +void ro_gui_window_quit(void) +{ + while (window_list) + browser_window_destroy(window_list->bw); +} + + /** * Set the title of a browser window. * -- cgit v1.2.3