mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 18:00:48 +00:00
Clear the text container of our text view in -dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17707 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4ecf1a67d3
commit
6a27a1f90e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-23 19:11 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSTextContainer.m (-dealloc): Set the text container of
|
||||
our text view, if any, to nil.
|
||||
|
||||
2003-09-22 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSWindowController.m (-setWindow:): Set window's
|
||||
|
|
|
@ -113,6 +113,7 @@ use bounds rectangle instead of frame? */
|
|||
name: NSViewFrameDidChangeNotification
|
||||
object: _textView];
|
||||
|
||||
[_textView setTextContainer: nil];
|
||||
RELEASE(_textView);
|
||||
}
|
||||
[super dealloc];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue