Author: fredkiefer
Date: Thu Oct 22 23:27:31 2015
New Revision: 39087
URL: http://svn.gna.org/viewcvs/gnustep?rev=39087&view=rev
Log:
* Source/NSWindowController.m (-_windowWillClose:): Don't unset
the delegate and the controller of the window, this gets done in
setWindow: a bit later.
Modified:
libs/gui/trunk/ChangeLog
libs/gui/trunk/Source/NSWindowController.m
Modified: libs/gui/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/ChangeLog?rev=39087&r1=39086&r2=39087&view=diff
==============================================================================
--- libs/gui/trunk/ChangeLog (original)
+++ libs/gui/trunk/ChangeLog Thu Oct 22 23:27:31 2015
@@ -1,3 +1,9 @@
+2015-10-22 Fred Kiefer <[email protected]>
+
+ * Source/NSWindowController.m (-_windowWillClose:): Don't unset
+ the delegate and the controller of the window, this gets done in
+ setWindow: a bit later.
+
2015-10-18 Fred Kiefer <[email protected]>
* Source/NSSegmentedCell.m (-drawSegment:inFrame:withView:):
Modified: libs/gui/trunk/Source/NSWindowController.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSWindowController.m?rev=39087&r1=39086&r2=39087&view=diff
==============================================================================
--- libs/gui/trunk/Source/NSWindowController.m (original)
+++ libs/gui/trunk/Source/NSWindowController.m Thu Oct 22 23:27:31 2015
@@ -268,14 +268,6 @@
if ([_window isReleasedWhenClosed])
{
RETAIN(self);
- if ([_window delegate] == self)
- {
- [_window setDelegate: nil];
- }
- if ([_window windowController] == self)
- {
- [_window setWindowController: nil];
- }
/*
* If the window is set to isReleasedWhenClosed, it will release
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs