mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-14 21:00:57 +00:00
Added fix suggested by George.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28375 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
48a1be38fa
commit
a145faad11
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-06-28 23:46-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSTextView.m (-initWithCoder:): Retain the text
|
||||||
|
container and storage to prevent a crash since both are
|
||||||
|
autoreleased by the archiver.
|
||||||
|
|
||||||
2009-06-29 Fred Kiefer <FredKiefer@gmx.de>
|
2009-06-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/AppKit/NSKeyValueBinding.h,
|
* Headers/AppKit/NSKeyValueBinding.h,
|
||||||
|
|
|
@ -847,7 +847,7 @@ that makes decoding and encoding compatible with the old code.
|
||||||
// currently not used....
|
// currently not used....
|
||||||
if ([aDecoder containsValueForKey: @"NSTextStorage"])
|
if ([aDecoder containsValueForKey: @"NSTextStorage"])
|
||||||
{
|
{
|
||||||
_textStorage = [aDecoder decodeObjectForKey: @"NSTextStorage"];
|
_textStorage = RETAIN([aDecoder decodeObjectForKey: @"NSTextStorage"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// currently not used....
|
// currently not used....
|
||||||
|
@ -864,7 +864,7 @@ that makes decoding and encoding compatible with the old code.
|
||||||
[aTextContainer setWidthTracksTextView: YES];
|
[aTextContainer setWidthTracksTextView: YES];
|
||||||
[aTextContainer setHeightTracksTextView: NO];
|
[aTextContainer setHeightTracksTextView: NO];
|
||||||
*/
|
*/
|
||||||
_textContainer = [aDecoder decodeObjectForKey: @"NSTextContainer"];
|
_textContainer = RETAIN([aDecoder decodeObjectForKey: @"NSTextContainer"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([aDecoder containsValueForKey: @"NSTVFlags"])
|
if ([aDecoder containsValueForKey: @"NSTVFlags"])
|
||||||
|
|
Loading…
Reference in a new issue