mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:50:48 +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
5c6bc58428
commit
793ea1b10b
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>
|
2009-05-14 14:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Headers/AppKit/NSWindow.h: Added ivar to contain attachedSheet.
|
* Headers/AppKit/NSWindow.h: Added ivar to contain attachedSheet.
|
||||||
|
|
|
@ -3456,7 +3456,7 @@ struct _DelegateWrapper
|
||||||
- (NSArray *) orderedWindows
|
- (NSArray *) orderedWindows
|
||||||
{
|
{
|
||||||
NSArray *arr = GSOrderedWindows();
|
NSArray *arr = GSOrderedWindows();
|
||||||
NSMutableArray *ret = [[NSArray alloc] initWithCapacity:[arr count]];
|
NSMutableArray *ret = [[NSMutableArray alloc] initWithCapacity:[arr count]];
|
||||||
NSEnumerator *iter = [arr objectEnumerator];
|
NSEnumerator *iter = [arr objectEnumerator];
|
||||||
id win;
|
id win;
|
||||||
while ((win = [iter nextObject]))
|
while ((win = [iter nextObject]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue