summaryrefslogtreecommitdiff
path: root/src/nsmenu.m
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2011-03-27 11:23:52 +0200
committerJan Djärv <jan.h.d@swipnet.se>2011-03-27 11:23:52 +0200
commit5c380ffb17f2fb6f22d9f24a7732b7e4a1e0cd52 (patch)
treeec04af9d29825f5d633c3cae161a2da993c9b9df /src/nsmenu.m
parenta4800c245067b1344d83e7cc6b2c538cbc0d2606 (diff)
downloademacs-5c380ffb17f2fb6f22d9f24a7732b7e4a1e0cd52.tar.gz
* nsmenu.m (runDialogAt): Remove argument to timer_check.
Diffstat (limited to 'src/nsmenu.m')
-rw-r--r--src/nsmenu.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m
index e8d4a256906..623c933ce8e 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -1705,7 +1705,6 @@ void process_dialog (id window, Lisp_Object list)
- (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 @@ void process_dialog (id window, Lisp_Object list)
{
/* 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]];
}