Remove the iconify gadget from the OS3 build

It is unlikely to ever work and I'm bored of hearing about it not working.
This commit is contained in:
Chris Young 2017-11-13 19:01:45 +00:00
parent 046977507b
commit b099a8582e

View File

@ -4059,10 +4059,12 @@ gui_window_create(struct browser_window *bw,
ULONG addtabclosegadget = TAG_IGNORE; ULONG addtabclosegadget = TAG_IGNORE;
ULONG iconifygadget = FALSE; ULONG iconifygadget = FALSE;
#ifdef __amigaos4__
if (nsoption_charp(pubscreen_name) && if (nsoption_charp(pubscreen_name) &&
(locked_screen == TRUE) && (locked_screen == TRUE) &&
(strcmp(nsoption_charp(pubscreen_name), "Workbench") == 0)) (strcmp(nsoption_charp(pubscreen_name), "Workbench") == 0))
iconifygadget = TRUE; iconifygadget = TRUE;
#endif
NSLOG(netsurf, INFO, "Creating menu"); NSLOG(netsurf, INFO, "Creating menu");
struct Menu *menu = ami_gui_menu_create(g->shared); struct Menu *menu = ami_gui_menu_create(g->shared);