From 9863d8ff5c14e057042cb0d12fdd66a084146b96 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 27 Jan 2000 17:08:40 +0000 Subject: [PATCH] Change prototypes of XMenuAddSelection and XMenuActivate. --- src/msdos.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/msdos.h b/src/msdos.h index 97253fc8359..8ea1f24af2f 100644 --- a/src/msdos.h +++ b/src/msdos.h @@ -150,14 +150,16 @@ typedef struct x_menu_struct int allocated; int panecount; int width; + char **help_text; } XMenu; XMenu *XMenuCreate (Display *, Window, char *); int XMenuAddPane (Display *, XMenu *, char *, int); -int XMenuAddSelection (Display *, XMenu *, int, int, char *, int); +int XMenuAddSelection (Display *, XMenu *, int, int, char *, int, char *); void XMenuLocate (Display *, XMenu *, int, int, int, int, int *, int *, int *, int *); -int XMenuActivate (Display *, XMenu *, int *, int *, int, int, unsigned, char **); +int XMenuActivate (Display *, XMenu *, int *, int *, int, int, unsigned, + char **, void (*callback)(char *)); void XMenuDestroy (Display *, XMenu *); #endif /* not HAVE_X_WINDOWS */ -- 2.39.5