Fix compilation error in xmenu.c for non-toolkit builds.
xmenu.c (xmenu_show) [!USE_X_TOOLKIT && !USE_GTK]: Fix argument list to be consistent with menu.h.
This commit is contained in:
parent
94c97d853f
commit
38e41e0e78
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2010-08-13 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xmenu.c (xmenu_show) [!USE_X_TOOLKIT && !USE_GTK]: Fix argument
|
||||
list to be consistent with menu.h.
|
||||
|
||||
* w32menu.c (add_menu_item, name_is_separator): Shut up compiler
|
||||
warnings due to mixing of "char *" and "const char *".
|
||||
|
||||
|
|
|
|||
|
|
@ -2243,7 +2243,7 @@ pop_down_menu (Lisp_Object arg)
|
|||
|
||||
Lisp_Object
|
||||
xmenu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps,
|
||||
Lisp_Object title, char **error, EMACS_UINT timestamp)
|
||||
Lisp_Object title, const char **error, EMACS_UINT timestamp)
|
||||
{
|
||||
Window root;
|
||||
XMenu *menu;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue