comparison src/xmenu.c @ 109440:f8f118e78387

* xmenu.c (create_and_show_popup_menu, xmenu_show): Fix type of timestamp argument.
author Andreas Schwab <schwab@linux-m68k.org>
date Thu, 15 Jul 2010 23:53:32 +0200
parents a4e57fa6eb3f
children 6c14b478b70f
comparison
equal deleted inserted replaced
109439:9ad1e76fc718 109440:f8f118e78387
1560 1560
1561 /* Pop up the menu for frame F defined by FIRST_WV at X/Y and loop until the 1561 /* Pop up the menu for frame F defined by FIRST_WV at X/Y and loop until the
1562 menu pops down. 1562 menu pops down.
1563 menu_item_selection will be set to the selection. */ 1563 menu_item_selection will be set to the selection. */
1564 static void 1564 static void
1565 create_and_show_popup_menu (FRAME_PTR f, widget_value *first_wv, int x, int y, int for_click, unsigned int timestamp) 1565 create_and_show_popup_menu (FRAME_PTR f, widget_value *first_wv,
1566 int x, int y, int for_click, EMACS_UINT timestamp)
1566 { 1567 {
1567 int i; 1568 int i;
1568 Arg av[2]; 1569 Arg av[2];
1569 int ac = 0; 1570 int ac = 0;
1570 XButtonPressedEvent dummy; 1571 XButtonPressedEvent dummy;
2273 return Qnil; 2274 return Qnil;
2274 } 2275 }
2275 2276
2276 2277
2277 Lisp_Object 2278 Lisp_Object
2278 xmenu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps, Lisp_Object title, char **error, unsigned int timestamp) 2279 xmenu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps,
2280 Lisp_Object title, char **error, EMACS_UINT timestamp)
2279 { 2281 {
2280 Window root; 2282 Window root;
2281 XMenu *menu; 2283 XMenu *menu;
2282 int pane, selidx, lpane, status; 2284 int pane, selidx, lpane, status;
2283 Lisp_Object entry, pane_prefix; 2285 Lisp_Object entry, pane_prefix;