From be2ab8f2836e183d8e9db89abca7112d855148ba Mon Sep 17 00:00:00 2001 From: mccallum Date: Mon, 18 Mar 1996 20:28:12 +0000 Subject: [PATCH] ([NSTimer +scheduledTimerWithTimeInterval:invocation:repeats:]): Add to RunLoopDefaultMode, not nil. ([NSTimer +scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:]): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1195 72102866-910b-0410-8b05-ffd578937521 --- Source/NSTimer.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSTimer.m b/Source/NSTimer.m index fb437a9dd..cf25d5eae 100644 --- a/Source/NSTimer.m +++ b/Source/NSTimer.m @@ -87,7 +87,7 @@ id t = [self timerWithTimeInterval: ti invocation: invocation repeats: f]; - [[RunLoop currentInstance] addTimer: t forMode: nil]; + [[RunLoop currentInstance] addTimer: t forMode: RunLoopDefaultMode]; return t; } @@ -102,7 +102,7 @@ selector: selector userInfo: info repeats: f]; - [[RunLoop currentInstance] addTimer: t forMode: nil]; + [[RunLoop currentInstance] addTimer: t forMode: RunLoopDefaultMode]; return t; }