mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 08:30:49 +00:00
Correct coding/decoding after type changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36160 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4d953a5122
commit
b1fc7cb066
15 changed files with 266 additions and 209 deletions
|
@ -2481,8 +2481,8 @@ static NSColor *dtxtCol;
|
|||
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
|
||||
tmp_int = _cell.mnemonic_location;
|
||||
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
|
||||
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &_mouse_down_flags];
|
||||
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &_action_mask];
|
||||
[aCoder encodeValueOfObjCType: @encode(NSUInteger) at: &_mouse_down_flags];
|
||||
[aCoder encodeValueOfObjCType: @encode(NSUInteger) at: &_action_mask];
|
||||
[aCoder encodeValueOfObjCType: @encode(id) at: &_formatter];
|
||||
[aCoder encodeValueOfObjCType: @encode(id) at: &_menu];
|
||||
[aCoder encodeValueOfObjCType: @encode(id) at: &_represented_object];
|
||||
|
@ -2647,9 +2647,9 @@ static NSColor *dtxtCol;
|
|||
_cell.state = tmp_int;
|
||||
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
|
||||
_cell.mnemonic_location = tmp_int;
|
||||
[aDecoder decodeValueOfObjCType: @encode(unsigned int)
|
||||
[aDecoder decodeValueOfObjCType: @encode(NSUInteger)
|
||||
at: &_mouse_down_flags];
|
||||
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &_action_mask];
|
||||
[aDecoder decodeValueOfObjCType: @encode(NSUInteger) at: &_action_mask];
|
||||
if (version < 3)
|
||||
{
|
||||
unsigned int mask = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue