summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c1
-rw-r--r--riscos/gui.h1
-rw-r--r--riscos/window.c3
3 files changed, 2 insertions, 3 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 90825b07c..ade22cb48 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -2408,7 +2408,6 @@ static struct gui_browser_table riscos_browser_table = {
.quit = gui_quit,
.launch_url = gui_launch_url,
- .create_form_select_menu = gui_create_form_select_menu,
.cert_verify = gui_cert_verify,
.login = gui_401login_open,
};
diff --git a/riscos/gui.h b/riscos/gui.h
index f402fc925..9077afeab 100644
--- a/riscos/gui.h
+++ b/riscos/gui.h
@@ -159,7 +159,6 @@ bool ro_gui_shift_pressed(void);
bool ro_gui_ctrl_pressed(void);
bool ro_gui_alt_pressed(void);
void gui_window_set_pointer(struct gui_window *g, enum gui_pointer_shape shape);
-void gui_create_form_select_menu(struct gui_window *g, struct form_control *control);
/* in history.c */
void ro_gui_history_init(void);
diff --git a/riscos/window.c b/riscos/window.c
index 1af124901..eafc8145b 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -1358,7 +1358,7 @@ void gui_window_set_extent(struct gui_window *g, int width, int height)
* \param control form control of type GADGET_SELECT
*/
-void gui_create_form_select_menu(struct gui_window *g,
+static void gui_window_create_form_select_menu(struct gui_window *g,
struct form_control *control)
{
os_error *error;
@@ -5044,6 +5044,7 @@ static struct gui_window_table window_table = {
.new_content = gui_window_new_content,
.start_throbber = gui_window_start_throbber,
.stop_throbber = gui_window_stop_throbber,
+ .create_form_select_menu = gui_window_create_form_select_menu,
/* from save */
.drag_save_object = gui_drag_save_object,