diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-16 12:39:31 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-16 12:39:31 +0100 |
commit | 63645c4c322a392e6d5a72f34534a515653bac32 (patch) | |
tree | 601abafec7c3bf16f966260a738a02b2ad1e45e5 /amiga/context_menu.c | |
parent | f4bac1e7df6fa5d9595d6852d986ba0b2b5366d7 (diff) | |
download | netsurf-63645c4c322a392e6d5a72f34534a515653bac32.tar.gz netsurf-63645c4c322a392e6d5a72f34534a515653bac32.tar.bz2 |
Fix core create_form_select_menu API to pass gw, rather than bw out to front ends.
Diffstat (limited to 'amiga/context_menu.c')
-rw-r--r-- | amiga/context_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { } |