mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
fixed allocation of NSMutableArray
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28284 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7f6ee7d9fd
commit
448d898622
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-05-14 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSApplication.m: fixed allocation of Mutable array instead of Array
|
||||
|
||||
2009-05-14 14:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Headers/AppKit/NSWindow.h: Added ivar to contain attachedSheet.
|
||||
|
|
|
@ -3456,7 +3456,7 @@ struct _DelegateWrapper
|
|||
- (NSArray *) orderedWindows
|
||||
{
|
||||
NSArray *arr = GSOrderedWindows();
|
||||
NSMutableArray *ret = [[NSArray alloc] initWithCapacity:[arr count]];
|
||||
NSMutableArray *ret = [[NSMutableArray alloc] initWithCapacity:[arr count]];
|
||||
NSEnumerator *iter = [arr objectEnumerator];
|
||||
id win;
|
||||
while ((win = [iter nextObject]))
|
||||
|
|
Loading…
Reference in a new issue