Major rewrite of NSRunLoop

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12235 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-01-28 15:16:33 +00:00
parent 57f69ef61c
commit 5c70666c43
7 changed files with 1272 additions and 724 deletions

View file

@ -435,7 +435,7 @@ add_to_queue(NSNotificationQueueList *queue, NSNotification *notification,
- (void) postNotification: (NSNotification*)notification
forModes: (NSArray*)modes
{
NSString *mode = [NSRunLoop currentMode];
NSString *mode = [[NSRunLoop currentRunLoop] currentMode];
// check to see if run loop is in a valid mode
if (mode == nil || modes == nil