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:
nico 2001-07-20 09:16:35 +00:00
parent a89644c81f
commit ecf27ae3f1

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