diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 22:07:57 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 22:07:57 +0100 |
commit | 67af746324d830914c78e8ab216eb4e37a4163a3 (patch) | |
tree | 9454bf869a5b7eebca09ad9c5649fe668f9d68f8 /frontends/amiga/gui.c | |
parent | 6d1f480f011a2de630ebe99e68effc725f179ed1 (diff) | |
download | netsurf-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.c | 7 |
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; |