diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 18:12:22 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 18:12:22 +0100 |
commit | 944d8fc412241e278b6302d9498925bea6ce9657 (patch) | |
tree | cf9b26bbb9596f713b265311ffb90e5d694836ab /frontends/amiga/gui.c | |
parent | 19742c826aca5494a1f10e3a869190531e7ae25b (diff) | |
download | netsurf-944d8fc412241e278b6302d9498925bea6ce9657.tar.gz netsurf-944d8fc412241e278b6302d9498925bea6ce9657.tar.bz2 |
try storing form_control in the hook data
it doesn't appear to be needed anywhere else
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r-- | frontends/amiga/gui.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index 7af15d7bd..fec9ed35f 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -302,7 +302,6 @@ struct gui_window struct MinList *deferred_rects; struct browser_window *bw; float scale; - struct form_control *control; }; struct ami_gui_tb_userdata { @@ -563,18 +562,6 @@ struct ami_menu_data **ami_gui2_get_menu_data(struct gui_window_2 *gwin) return gwin->menu_data; } -struct form_control *ami_gui_get_control(struct gui_window *gw) -{ - assert(gw != NULL); - return gw->control; -} - -void ami_gui_set_control(struct gui_window *gw, struct form_control *control) -{ - assert(gw != NULL); - gw->control = control; -} - void ami_gui2_set_ctxmenu_history_tmp(struct gui_window_2 *gwin, int temp) { assert(gwin != NULL); |