From: Eli Zaretskii Date: Thu, 27 Jan 2000 17:08:40 +0000 (+0000) Subject: Change prototypes of XMenuAddSelection and XMenuActivate. X-Git-Tag: emacs-pretest-21.0.90~5232 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9863d8ff5c14e057042cb0d12fdd66a084146b96;p=emacs.git Change prototypes of XMenuAddSelection and XMenuActivate. --- 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 */