Commit 5c380ffb authored by Jan Djärv's avatar Jan Djärv

* nsmenu.m (runDialogAt): Remove argument to timer_check.

parent a4800c24
2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
* nsmenu.m (runDialogAt): Remove argument to timer_check.
2011-03-27 Glenn Morris <rgm@gnu.org>
* syssignal.h: Replace RETSIGTYPE with void.
......@@ -1705,7 +1705,6 @@ - (void)dealloc
- (Lisp_Object)runDialogAt: (NSPoint)p
{
NSInteger ret;
extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */
/* initiate a session that will be ended by pop_down_menu */
popupSession = [NSApp beginModalSessionForWindow: self];
......@@ -1715,7 +1714,7 @@ - (Lisp_Object)runDialogAt: (NSPoint)p
{
/* Run this for timers.el, indep of atimers; might not return.
TODO: use return value to avoid calling every iteration. */
timer_check (1);
timer_check ();
[NSThread sleepUntilDate: [NSDate dateWithTimeIntervalSinceNow: 0.1]];
}
......
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