mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 16:31:55 +00:00
In [_setupPickers] release cell array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17352 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
efb93dad1b
commit
2f56a6a783
2 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
[pickerMatrix addRowWithCells: cells];
|
[pickerMatrix addRowWithCells: cells];
|
||||||
|
RELEASE(cells);
|
||||||
[pickerMatrix setCellSize: NSMakeSize(1, 36)];
|
[pickerMatrix setCellSize: NSMakeSize(1, 36)];
|
||||||
[pickerMatrix setTarget: self];
|
[pickerMatrix setTarget: self];
|
||||||
[pickerMatrix setAction: @selector(_showNewPicker:)];
|
[pickerMatrix setAction: @selector(_showNewPicker:)];
|
||||||
|
|
|
@ -168,6 +168,7 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel;
|
||||||
}
|
}
|
||||||
|
|
||||||
[_pickerMatrix addRowWithCells: cells];
|
[_pickerMatrix addRowWithCells: cells];
|
||||||
|
RELEASE(cells);
|
||||||
[_pickerMatrix setCellSize: NSMakeSize(size.width / count, size.height)];
|
[_pickerMatrix setCellSize: NSMakeSize(size.width / count, size.height)];
|
||||||
[_pickerMatrix setTarget: self];
|
[_pickerMatrix setTarget: self];
|
||||||
[_pickerMatrix setAction: @selector(_showNewPicker:)];
|
[_pickerMatrix setAction: @selector(_showNewPicker:)];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue