summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-08 00:30:51 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-08 00:30:51 +0100
commit1edf8f28480fcb780dc6504022c65b6cc6c019cf (patch)
treead6901b99db5cfb02299a6d201a135b045fe0b65 /frontends/amiga/gui.c
parentc64d48005c31a7046f224b796a3da5ac0e79751d (diff)
downloadnetsurf-1edf8f28480fcb780dc6504022c65b6cc6c019cf.tar.gz
netsurf-1edf8f28480fcb780dc6504022c65b6cc6c019cf.tar.bz2
set find window function
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r--frontends/amiga/gui.c10
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);