summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-08 17:29:14 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-08 17:29:14 +0100
commitdf5c18315ff13e215f661eacd2d81e3c0a758e57 (patch)
tree2e515d98cf90eb182566077fadc4e54e47c6c051 /frontends/amiga/gui.c
parentd0df3fa4b340071fbe54f9e7966f62b873b52b81 (diff)
downloadnetsurf-df5c18315ff13e215f661eacd2d81e3c0a758e57.tar.gz
netsurf-df5c18315ff13e215f661eacd2d81e3c0a758e57.tar.bz2
Pass ptr to clicktab var instead of func calls
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 9832b1d26..1671e9db5 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -3660,7 +3660,7 @@ static void ami_toggletabbar(struct gui_window_2 *gwin, bool show)
GA_ID, GID_TABS,
GA_RelVerify, TRUE,
GA_Underscore, 13, // disable kb shortcuts
- GA_ContextMenu, ami_ctxmenu_clicktab_create(gwin),
+ GA_ContextMenu, ami_ctxmenu_clicktab_create(gwin, &gwin->clicktab_ctxmenu),
CLICKTAB_Labels, &gwin->tab_list,
CLICKTAB_LabelTruncate, TRUE,
CLICKTAB_CloseImage, gwin->objects[GID_CLOSETAB_BM],