diff options
author | Steve Fryatt <stevef@netsurf-browser.org> | 2014-01-29 16:54:34 +0000 |
---|---|---|
committer | Steve Fryatt <stevef@netsurf-browser.org> | 2014-01-29 16:54:34 +0000 |
commit | 0114cc825d8a23ff99ce3a667aebc0ed21b0339f (patch) | |
tree | 5d6e0a143cb02d5a655bfe13f187a726221981f4 /riscos/print.c | |
parent | 829b4fd4546670512f8543c8bc8ed80372566f08 (diff) | |
download | netsurf-0114cc825d8a23ff99ce3a667aebc0ed21b0339f.tar.gz netsurf-0114cc825d8a23ff99ce3a667aebc0ed21b0339f.tar.bz2 |
Provide a dedicated interface for destroying open menus.
Add ro_gui_menu_destroy(), so that this specific task does not share the same code as the more general task of tidying up after menus have been closed by other means.
The original ro_gui_menu_closed() now simply cleans up from a known (or assumed) closure, without forcing a closure itself.
Diffstat (limited to 'riscos/print.c')
-rw-r--r-- | riscos/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/print.c b/riscos/print.c index 09d4aaefb..c539f011c 100644 --- a/riscos/print.c +++ b/riscos/print.c @@ -525,7 +525,7 @@ void ro_print_cleanup(void) print_text_black = false; print_prev_message = 0; print_max_sheets = -1; - ro_gui_menu_closed(); + ro_gui_menu_destroy(); ro_gui_dialog_close(dialog_print); } |