summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-07 21:58:09 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-07 21:58:09 +0100
commit6d1f480f011a2de630ebe99e68effc725f179ed1 (patch)
treef43f32ff19a044cc75f16becd36b8c8a3ba9ec84 /frontends/amiga/gui.h
parent5c7b5476f0739e5f62071800830b7600a64a3dd5 (diff)
downloadnetsurf-6d1f480f011a2de630ebe99e68effc725f179ed1.tar.gz
netsurf-6d1f480f011a2de630ebe99e68effc725f179ed1.tar.bz2
Get the shared window's window structure directly from the gui_window
In a lot of places gui_window_2 was only being accessed for Window
Diffstat (limited to 'frontends/amiga/gui.h')
-rw-r--r--frontends/amiga/gui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/amiga/gui.h b/frontends/amiga/gui.h
index 39b0838c2..e65c0fe11 100644
--- a/frontends/amiga/gui.h
+++ b/frontends/amiga/gui.h
@@ -306,5 +306,10 @@ bool ami_gui_get_throbbing(struct gui_window *gw);
*/
void ami_gui_set_throbbing(struct gui_window *gw, bool throbbing);
+/**
+ * Get window from gui_window
+ */
+struct Window *ami_gui_get_window(struct gui_window *gw);
+
#endif