mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +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
0f106ebecb
commit
2bf8409c3d
2 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,7 @@
|
|||
}
|
||||
|
||||
[pickerMatrix addRowWithCells: cells];
|
||||
RELEASE(cells);
|
||||
[pickerMatrix setCellSize: NSMakeSize(1, 36)];
|
||||
[pickerMatrix setTarget: self];
|
||||
[pickerMatrix setAction: @selector(_showNewPicker:)];
|
||||
|
|
|
@ -168,6 +168,7 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel;
|
|||
}
|
||||
|
||||
[_pickerMatrix addRowWithCells: cells];
|
||||
RELEASE(cells);
|
||||
[_pickerMatrix setCellSize: NSMakeSize(size.width / count, size.height)];
|
||||
[_pickerMatrix setTarget: self];
|
||||
[_pickerMatrix setAction: @selector(_showNewPicker:)];
|
||||
|
|
Loading…
Reference in a new issue