Commit 9863d8ff authored by Eli Zaretskii's avatar Eli Zaretskii

Change prototypes of XMenuAddSelection and XMenuActivate.

parent e25d9653
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment