([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
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;
}