mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 04:32:03 +00:00
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:
parent
57f69ef61c
commit
5c70666c43
7 changed files with 1272 additions and 724 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue