summaryrefslogtreecommitdiff
path: root/cocoa
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 /cocoa
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 'cocoa')
-rw-r--r--cocoa/gui.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m
index 33bd6f0a3..467805aa1 100644
--- a/cocoa/gui.m
+++ b/cocoa/gui.m
@@ -244,10 +244,10 @@ static void gui_window_new_content(struct gui_window *g)
}
-static void gui_create_form_select_menu(struct browser_window *bw,
+static void gui_create_form_select_menu(struct gui_window *g,
struct form_control *control)
{
- FormSelectMenu *menu = [[FormSelectMenu alloc] initWithControl: control forWindow: bw];
+ FormSelectMenu *menu = [[FormSelectMenu alloc] initWithControl: control forWindow: g->bw];
[menu runInView: [(BrowserViewController *)bw->window browserView]];
[menu release];
}