changeset 27463:6e3d60350319

Change prototypes of XMenuAddSelection and XMenuActivate.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 27 Jan 2000 17:08:40 +0000
parents a4cddf1245d7
children bead94cd5501
files src/msdos.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.h	Thu Jan 27 17:07:27 2000 +0000
+++ b/src/msdos.h	Thu Jan 27 17:08:40 2000 +0000
@@ -150,14 +150,16 @@
   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 */