([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
This commit is contained in:
mccallum 1996-03-18 20:28:12 +00:00
parent fae68ecafa
commit be2ab8f283

View file

@ -87,7 +87,7 @@
id t = [self timerWithTimeInterval: ti id t = [self timerWithTimeInterval: ti
invocation: invocation invocation: invocation
repeats: f]; repeats: f];
[[RunLoop currentInstance] addTimer: t forMode: nil]; [[RunLoop currentInstance] addTimer: t forMode: RunLoopDefaultMode];
return t; return t;
} }
@ -102,7 +102,7 @@
selector: selector selector: selector
userInfo: info userInfo: info
repeats: f]; repeats: f];
[[RunLoop currentInstance] addTimer: t forMode: nil]; [[RunLoop currentInstance] addTimer: t forMode: RunLoopDefaultMode];
return t; return t;
} }