summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-10-16 12:39:31 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-10-16 12:39:31 +0100
commit63645c4c322a392e6d5a72f34534a515653bac32 (patch)
tree601abafec7c3bf16f966260a738a02b2ad1e45e5 /amiga
parentf4bac1e7df6fa5d9595d6852d986ba0b2b5366d7 (diff)
downloadnetsurf-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')
-rw-r--r--amiga/context_menu.c6
-rwxr-xr-xamiga/context_menu.h2
2 files changed, 4 insertions, 4 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)
{
}
diff --git a/amiga/context_menu.h b/amiga/context_menu.h
index 69ccdff68..1bd7a84de 100755
--- a/amiga/context_menu.h
+++ b/amiga/context_menu.h
@@ -28,6 +28,6 @@ BOOL ami_context_menu_mouse_trap(struct gui_window_2 *gwin, BOOL trap);
void ami_context_menu_show(struct gui_window_2 *gwin, int x, int y);
void ami_context_menu_show_tree(struct tree *tree, struct Window *win, int type);
-void gui_create_form_select_menu(struct browser_window *bw, struct form_control *control);
+void gui_create_form_select_menu(struct gui_window *g, struct form_control *control);
#endif