summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-07 22:07:57 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-07 22:07:57 +0100
commit67af746324d830914c78e8ab216eb4e37a4163a3 (patch)
tree9454bf869a5b7eebca09ad9c5649fe668f9d68f8 /frontends/amiga/gui.c
parent6d1f480f011a2de630ebe99e68effc725f179ed1 (diff)
downloadnetsurf-67af746324d830914c78e8ab216eb4e37a4163a3.tar.gz
netsurf-67af746324d830914c78e8ab216eb4e37a4163a3.tar.bz2
Get menu structure directly from gui_window
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r--frontends/amiga/gui.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 0c2944c0a..b34b5e9be 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -356,6 +356,13 @@ struct Window *ami_gui_get_window(struct gui_window *gw)
return gw->shared->win;
}
+struct Menu *ami_gui_get_menu(struct gui_window *gw)
+{
+ assert(gw != NULL);
+ assert(gw->shared != NULL);
+ return gw->shared->imenu;
+}
+
STRPTR ami_locale_langs(int *codeset)
{
struct Locale *locale;