From 63645c4c322a392e6d5a72f34534a515653bac32 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 16 Oct 2014 12:39:31 +0100 Subject: Fix core create_form_select_menu API to pass gw, rather than bw out to front ends. --- amiga/context_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'amiga/context_menu.c') diff --git a/amiga/context_menu.c b/amiga/context_menu.c index b85824f2c..5e35f5d0e 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -1281,7 +1281,7 @@ static uint32 ami_popup_hook(struct Hook *hook,Object *item,APTR reserved) return itemid; } -void gui_create_form_select_menu(struct browser_window *bw, +void gui_create_form_select_menu(struct gui_window *g, struct form_control *control) { /* TODO: PMIA_Title memory leaks as we don't free the strings. @@ -1289,7 +1289,7 @@ void gui_create_form_select_menu(struct browser_window *bw, * improves we will probably start using this again. */ - struct gui_window *gwin = bw->window; + struct gui_window *gwin = g; struct form_option *opt = control->data.select.items; ULONG i = 0; @@ -1343,7 +1343,7 @@ void ami_context_menu_show(struct gui_window_2 *gwin, int x, int y) { } -void gui_create_form_select_menu(struct browser_window *bw, +void gui_create_form_select_menu(struct gui_window *g, struct form_control *control) { } -- cgit v1.2.3