Hi,
here is a patch for [IMOutletConnector establishConnection] which removes a
retain, which I think is one too much.
My graphic application (being ported from OpenStep) uses gmodels extensivly,
and it now frees closed Windows as expected.
Georg
2001-04-11 Georg Fleischmann
* gui/Model/IMConnectors.m
[IMOutletConnector establishConnection:]: retain removed
diff -u gui/Model/IMConnectors.m.old gui/Model/IMConnectors.m
--- gui/Model/IMConnectors.m.old Wed Apr 11 19:35:57 2001
+++ gui/Model/IMConnectors.m Wed Apr 11 19:38:15 2001
@@ -128,10 +128,7 @@
if (setSelector && [_source respondsToSelector:setSelector])
[_source performSelector:setSelector withObject:_destination];
else
- {
- [_destination retain];
GSSetInstanceVariable(_source, label, &_destination);
- }
}
@end /* IMOutletConnector */
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep