From 6d1f480f011a2de630ebe99e68effc725f179ed1 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 7 May 2019 21:58:09 +0100 Subject: 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 --- frontends/amiga/gui.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'frontends/amiga/gui.h') 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 -- cgit v1.2.3