mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 18:36:23 +00:00
* Source/NSTableView.m: initWithCoder: minor cleanup.
* Source/NSTextFieldCell.m: initWithCoder retain text/background colors to prevent crash. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23339 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
63e4a9aebd
commit
aaa0f632ce
3 changed files with 12 additions and 2 deletions
|
@ -5353,6 +5353,7 @@ static inline float computePeriod(NSPoint mouseLocationWin,
|
|||
[_headerView setTableView: self];
|
||||
[_tableColumns makeObjectsPerformSelector: @selector(setTableView:)
|
||||
withObject: self];
|
||||
|
||||
[aDecoder decodeValueOfObjCType: @encode(int) at: &_numberOfRows];
|
||||
[aDecoder decodeValueOfObjCType: @encode(int) at: &_numberOfColumns];
|
||||
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_drawsGrid];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue