mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 18:41: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
|
- (id) initWithFrame: (NSRect)frameRect
|
||||||
{
|
{
|
||||||
NSSliderCell *theCell = AUTORELEASE([[isa cellClass] new]);
|
|
||||||
|
|
||||||
[super initWithFrame: frameRect];
|
[super initWithFrame: frameRect];
|
||||||
|
|
||||||
// set our cell
|
[_cell setState: 1];
|
||||||
[self setCell: theCell];
|
[_cell setContinuous: YES];
|
||||||
[theCell setState: 1];
|
|
||||||
[theCell setContinuous: YES];
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue