summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-08-13 11:32:13 +0300
committerEli Zaretskii <eliz@gnu.org>2010-08-13 11:32:13 +0300
commit38e41e0e7878499325a609c8e6d30cd3acda3376 (patch)
tree7c05f45aa028bdf0d01401ebee358e6476a408c5 /src/xmenu.c
parent94c97d853fee699c2cc044b2d146efaafef5a480 (diff)
downloademacs-38e41e0e7878499325a609c8e6d30cd3acda3376.tar.gz
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.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 0f42a5f0892..68b442388a5 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -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;