summaryrefslogtreecommitdiff
path: root/amiga/menu.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-06 09:12:26 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-06 09:12:26 +0100
commitd1ccd3e53d45071b9c715aaacf9d60e261701957 (patch)
tree4a7beecf01f48e3bc440bd1b50373559daf0e5b6 /amiga/menu.h
parent1e83301251beed8fd0450a2a0d71d8a9451ccc46 (diff)
parentde75959362f83adee9f7b879fe5e76701575af7c (diff)
downloadnetsurf-d1ccd3e53d45071b9c715aaacf9d60e261701957.tar.gz
netsurf-d1ccd3e53d45071b9c715aaacf9d60e261701957.tar.bz2
Create menu on OS3 and 3 the same way (old GadTools method)
This makes it easier to switch to menuclass. It also fixes a crash-on-exit bug on OS3.
Diffstat (limited to 'amiga/menu.h')
-rwxr-xr-xamiga/menu.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/amiga/menu.h b/amiga/menu.h
index 516aedf43..cff42ddc4 100755
--- a/amiga/menu.h
+++ b/amiga/menu.h
@@ -137,15 +137,12 @@ struct gui_window_2 *ami_menu_window_close;
bool ami_menu_check_toggled;
void ami_free_menulabs(struct gui_window_2 *gwin);
-struct NewMenu *ami_create_menu(struct gui_window_2 *gwin);
+struct Menu *ami_menu_create(struct gui_window_2 *gwin);
void ami_menu_refresh(struct gui_window_2 *gwin);
void ami_menu_update_checked(struct gui_window_2 *gwin);
void ami_menu_update_disabled(struct gui_window *g, hlcache_handle *c);
void ami_menu_free_glyphs(void);
+void ami_menu_free(struct gui_window_2 *gwin);
-#ifndef __amigaos4__
-void ami_menu_free_os3(struct gui_window_2 *gwin);
-struct Menu *ami_menu_create_os3(struct gui_window_2 *gwin, struct NewMenu *newmenu);
#endif
-#endif