[initWithFrame:] removed superflous [setCell:] call, as this gets

one in the super implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9545 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-04-09 21:29:35 +00:00
parent 77b0f2bfb1
commit f1ca42b9ea

View file

@ -116,14 +116,10 @@ static Class cellClass;
- (id) initWithFrame: (NSRect)frameRect
{
NSSliderCell *theCell = AUTORELEASE([[isa cellClass] new]);
[super initWithFrame: frameRect];
// set our cell
[self setCell: theCell];
[theCell setState: 1];
[theCell setContinuous: YES];
[_cell setState: 1];
[_cell setContinuous: YES];
return self;
}