mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:10:39 +00:00
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:
parent
4adb0bb3b0
commit
73cd5d26d4
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue