* Source/GSNibLoading.m (NSCustomView -nibInstantiateWithCoder:):

Re-add call to -replaceObject:withObject: on decoder, but this
time in the right place.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36329 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2013-03-10 13:39:00 +00:00
parent d1231704e8
commit b9cd78229f
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-03-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSNibLoading.m (NSCustomView -nibInstantiateWithCoder:):
Re-add call to -replaceObject:withObject: on decoder, but this
time in the right place.
2013-03-09 Eric Wasylishen <ewasylishen@gmail.com>
* Images/GNUmakefile:

View file

@ -1093,6 +1093,9 @@ static BOOL _isInInterfaceBuilder = NO;
NSEnumerator *en = nil;
id v = nil;
// Tell the decoder that the object gets replaced before decoding subviews
[(NSKeyedUnarchiver *)coder replaceObject: self withObject: _view];
prevKeyView = [coder decodeObjectForKey: @"NSPreviousKeyView"];
nextKeyView = [coder decodeObjectForKey: @"NSNextKeyView"];
if (nextKeyView != nil)