Commit 38e41e0e authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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.
parent 94c97d85
2010-08-13 Eli Zaretskii <eliz@gnu.org> 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 * w32menu.c (add_menu_item, name_is_separator): Shut up compiler
warnings due to mixing of "char *" and "const char *". warnings due to mixing of "char *" and "const char *".
   
......
...@@ -2243,7 +2243,7 @@ pop_down_menu (Lisp_Object arg) ...@@ -2243,7 +2243,7 @@ pop_down_menu (Lisp_Object arg)
Lisp_Object Lisp_Object
xmenu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps, 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; Window root;
XMenu *menu; XMenu *menu;
......
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