mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
Assign testContainer top level objects to topObjects in testInterface method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23135 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fb005e339f
commit
e3ac238603
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-07-05 20:17 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Gorm.m: In testInterface, assign top level objects from the
|
||||
testContainer to topObjects, a temporary var, so that they can be
|
||||
properly cleaned up.
|
||||
|
||||
2006-07-05 19:56 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Gorm.m: Correct bug introduced at some point in testInterface which
|
||||
|
|
5
Gorm.m
5
Gorm.m
|
@ -62,7 +62,7 @@
|
|||
NSRect connectDRect;
|
||||
NSPoint cascadePoint;
|
||||
NSMutableArray *testingWindows;
|
||||
NSMutableArray *topObjects;
|
||||
NSSet *topObjects;
|
||||
}
|
||||
|
||||
// handle notifications the object recieves.
|
||||
|
@ -481,8 +481,7 @@
|
|||
[self setMainMenu: aMenu];
|
||||
// initialize the context.
|
||||
RETAIN(testContainer);
|
||||
// context = [NSDictionary dictionaryWithObjectsAndKeys: topObjects,
|
||||
// @"NSTopLevelObjects", self, @"NSOwner", nil];
|
||||
topObjects = [testContainer topLevelObjects];
|
||||
|
||||
[nameTable removeObjectForKey: @"NSServicesMenu"];
|
||||
[nameTable removeObjectForKey: @"NSWindowsMenu"];
|
||||
|
|
Loading…
Reference in a new issue