diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 21:58:09 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 21:58:09 +0100 |
commit | 6d1f480f011a2de630ebe99e68effc725f179ed1 (patch) | |
tree | f43f32ff19a044cc75f16becd36b8c8a3ba9ec84 /frontends/amiga/gui_menu.c | |
parent | 5c7b5476f0739e5f62071800830b7600a64a3dd5 (diff) | |
download | netsurf-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_menu.c')
-rw-r--r-- | frontends/amiga/gui_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/gui_menu.c b/frontends/amiga/gui_menu.c index fd8e1b8fa..1bb0ee8f4 100644 --- a/frontends/amiga/gui_menu.c +++ b/frontends/amiga/gui_menu.c @@ -711,7 +711,7 @@ void ami_gui_menu_update_checked(struct gui_window_2 *gwin) void ami_gui_menu_update_disabled(struct gui_window *g, struct hlcache_handle *c) { - struct Window *win = ami_gui_get_gui_window_2(g)->win; + struct Window *win = ami_gui_get_window(g); if(nsoption_bool(kiosk_mode) == true) return; |