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. --- desktop/gui.h | 6 +++++- desktop/gui_factory.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/gui.h b/desktop/gui.h index 528f0c6d0..83e857474 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -497,8 +497,12 @@ struct gui_browser_table { /** * create a form select menu + * + * \param g gui window containing form control + * \param control form control of type GADGET_SELECT */ - void (*create_form_select_menu)(struct browser_window *bw, struct form_control *control); + void (*create_form_select_menu)(struct gui_window *g, + struct form_control *control); /** * verify certificate diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c index 9ce868235..b978210e8 100644 --- a/desktop/gui_factory.c +++ b/desktop/gui_factory.c @@ -532,7 +532,7 @@ static nserror gui_default_launch_url(struct nsurl *url) return NSERROR_NO_FETCH_HANDLER; } -static void gui_default_create_form_select_menu(struct browser_window *bw, +static void gui_default_create_form_select_menu(struct gui_window *g, struct form_control *control) { } -- cgit v1.2.3