aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 95ae5393553..98473939373 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -377,7 +377,7 @@ x_menu_wait_for_event (void *data)
377#endif 377#endif
378 ) 378 )
379 { 379 {
380 EMACS_TIME next_time = timer_check (), *ntp; 380 struct timespec next_time = timer_check (), *ntp;
381 SELECT_TYPE read_fds; 381 SELECT_TYPE read_fds;
382 struct x_display_info *dpyinfo; 382 struct x_display_info *dpyinfo;
383 int n = 0; 383 int n = 0;
@@ -391,7 +391,7 @@ x_menu_wait_for_event (void *data)
391 XFlush (dpyinfo->display); 391 XFlush (dpyinfo->display);
392 } 392 }
393 393
394 if (! EMACS_TIME_VALID_P (next_time)) 394 if (! timespec_valid_p (next_time))
395 ntp = 0; 395 ntp = 0;
396 else 396 else
397 ntp = &next_time; 397 ntp = &next_time;