Do not retain the window controller - it owns us

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-07-20 09:16:35 +00:00
parent 4adb0bb3b0
commit 73cd5d26d4

View file

@ -967,7 +967,9 @@ static NSMapTable* windowmaps = NULL;
*/
- (void) setWindowController: (NSWindowController*)windowController
{
ASSIGN(_windowController, windowController);
/* The window controller owns us, we only keep a weak reference to
it */
_windowController = windowController;
}
- (id) windowController