aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index eab7bb03f20..8ecef00c88e 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -383,7 +383,7 @@ x_menu_wait_for_event (void *data)
383#endif 383#endif
384 ) 384 )
385 { 385 {
386 EMACS_TIME next_time = timer_check (1), *ntp; 386 EMACS_TIME next_time = timer_check (), *ntp;
387 long secs = EMACS_SECS (next_time); 387 long secs = EMACS_SECS (next_time);
388 long usecs = EMACS_USECS (next_time); 388 long usecs = EMACS_USECS (next_time);
389 SELECT_TYPE read_fds; 389 SELECT_TYPE read_fds;
@@ -712,7 +712,7 @@ show_help_event (FRAME_PTR f, xt_or_gtk_widget widget, Lisp_Object help)
712 break; 712 break;
713 } 713 }
714#endif 714#endif
715 show_help_echo (help, Qnil, Qnil, Qnil, 1); 715 show_help_echo (help, Qnil, Qnil, Qnil);
716 } 716 }
717} 717}
718 718
@@ -922,7 +922,7 @@ set_frame_menubar (FRAME_PTR f, int first_time, int deep_p)
922#endif 922#endif
923 Lisp_Object items; 923 Lisp_Object items;
924 widget_value *wv, *first_wv, *prev_wv = 0; 924 widget_value *wv, *first_wv, *prev_wv = 0;
925 int i, last_i = 0; 925 EMACS_UINT i, last_i = 0;
926 int *submenu_start, *submenu_end; 926 int *submenu_start, *submenu_end;
927 int *submenu_top_level_items, *submenu_n_panes; 927 int *submenu_top_level_items, *submenu_n_panes;
928 928
@@ -2201,7 +2201,7 @@ menu_help_callback (char *help_string, int pane, int item)
2201 Fcons (pane_name, 2201 Fcons (pane_name,
2202 Fcons (make_number (pane), Qnil))); 2202 Fcons (make_number (pane), Qnil)));
2203 show_help_echo (help_string ? build_string (help_string) : Qnil, 2203 show_help_echo (help_string ? build_string (help_string) : Qnil,
2204 Qnil, menu_object, make_number (item), 1); 2204 Qnil, menu_object, make_number (item));
2205} 2205}
2206 2206
2207static Lisp_Object 2207static Lisp_Object