[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix, IMConnectors, establishConnection
From: |
Georg Fleischmann |
Subject: |
Fix, IMConnectors, establishConnection |
Date: |
Wed, 11 Apr 2001 20:06:38 +0200 |
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 */
- Fix, IMConnectors, establishConnection,
Georg Fleischmann <=
- Re: Fix, IMConnectors, establishConnection, Nicola Pero, 2001/04/12
- Re: Fix, IMConnectors, establishConnection, Georg Fleischmann, 2001/04/12
- Re: Fix, IMConnectors, establishConnection, Nicola Pero, 2001/04/12
- Re: Fix, IMConnectors, establishConnection, Georg Fleischmann, 2001/04/12
- Re: Fix, IMConnectors, establishConnection, Nicola Pero, 2001/04/17