Fixed memory leak of target object; tiny useless optm in method

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11124 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2001-10-11 10:15:52 +00:00
parent 915a203705
commit d9fd6a4644

View file

@ -1547,7 +1547,7 @@ static SEL getSel;
{
if ([_selectedCell isEntryAcceptable: [aTextObject text]] == NO)
{
[self sendAction: _errorAction to: [self target]];
[self sendAction: _errorAction to: _target];
return NO;
}
@ -2601,7 +2601,7 @@ static SEL getSel;
- (void) setTarget: anObject
{
ASSIGN(_target, anObject);
_target = anObject;
}
- (id) target