diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 17:29:14 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 17:29:14 +0100 |
commit | df5c18315ff13e215f661eacd2d81e3c0a758e57 (patch) | |
tree | 2e515d98cf90eb182566077fadc4e54e47c6c051 /frontends/amiga/ctxmenu.h | |
parent | d0df3fa4b340071fbe54f9e7966f62b873b52b81 (diff) | |
download | netsurf-df5c18315ff13e215f661eacd2d81e3c0a758e57.tar.gz netsurf-df5c18315ff13e215f661eacd2d81e3c0a758e57.tar.bz2 |
Pass ptr to clicktab var instead of func calls
Diffstat (limited to 'frontends/amiga/ctxmenu.h')
-rw-r--r-- | frontends/amiga/ctxmenu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/amiga/ctxmenu.h b/frontends/amiga/ctxmenu.h index 08a5fe582..39a838702 100644 --- a/frontends/amiga/ctxmenu.h +++ b/frontends/amiga/ctxmenu.h @@ -75,10 +75,11 @@ struct Menu *ami_ctxmenu_history_create(int direction, struct gui_window_2 *gwin * Create ClickTab context menu * * \param gwin struct gui_window_2 * - * \returns pointer to menu (for convenience, is also stored in gwin structure) + * \param clicktab_obj ptr to memory to hold clicktab menu object + * \returns pointer to menu (for convenience) * The returned pointer MUST be disposed of with DisposeObject before program exit. */ -struct Menu *ami_ctxmenu_clicktab_create(struct gui_window_2 *gwin); +struct Menu *ami_ctxmenu_clicktab_create(struct gui_window_2 *gwin, Object **clicktab_obj); #else //__amigaos4__ inline void ami_ctxmenu_init(void) {} |