mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 08:50:57 +00:00
[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:
parent
77b0f2bfb1
commit
f1ca42b9ea
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue