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. --- cocoa/gui.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cocoa/gui.m') 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]; } -- cgit v1.2.3