diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 00:30:51 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 00:30:51 +0100 |
commit | 1edf8f28480fcb780dc6504022c65b6cc6c019cf (patch) | |
tree | ad6901b99db5cfb02299a6d201a135b045fe0b65 /frontends/amiga/gui.c | |
parent | c64d48005c31a7046f224b796a3da5ac0e79751d (diff) | |
download | netsurf-1edf8f28480fcb780dc6504022c65b6cc6c019cf.tar.gz netsurf-1edf8f28480fcb780dc6504022c65b6cc6c019cf.tar.bz2 |
set find window function
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r-- | frontends/amiga/gui.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index a2cee1036..e9ceb1a6e 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -350,6 +350,16 @@ void ami_gui_set_history_window(struct gui_window *gw, struct ami_history_local_ gw->hw = hw; } +void ami_gui_set_find_window(struct gui_window *gw, struct find_window *fw) +{ + /* This needs to be in gui_window_2 as it is shared amongst tabs (I think), + * it just happens that the find code only knows of the gui_window + */ + assert(gw != NULL); + assert(gw->shared != NULL); + gw->shared->searchwin = fw; +} + bool ami_gui_get_throbbing(struct gui_window *gw) { assert(gw != NULL); |