summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-03 19:27:40 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-03 19:27:40 +0000
commit695783e33b9c100b1ce28ef71a59a00f52cc374f (patch)
tree3ef0700f8d45ad7f68a921d9a90094c5e4e66c1d /frontends/amiga/gui.c
parent3b1ef784fd53095213fa8b89806982567359dca4 (diff)
downloadnetsurf-695783e33b9c100b1ce28ef71a59a00f52cc374f.tar.gz
netsurf-695783e33b9c100b1ce28ef71a59a00f52cc374f.tar.bz2
re-structure menu code to make it useable elsewhere in the frontend
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r--frontends/amiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index f94090b75..74cd5a3dd 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -4590,7 +4590,7 @@ static void gui_window_destroy(struct gui_window *g)
DisposeObject((Object *)g->shared->history_ctxmenu[AMI_CTXMENU_HISTORY_BACK]);
DisposeObject((Object *)g->shared->history_ctxmenu[AMI_CTXMENU_HISTORY_FORWARD]);
ami_ctxmenu_release_hook(g->shared->ctxmenu_hook);
- ami_free_menulabs(g->shared);
+ ami_free_menulabs(g->shared->menu_data);
ami_menu_free(g->shared);
free(g->shared->wintitle);