mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:00:46 +00:00
Retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8339 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
45b04bd21e
commit
b273ed105e
1 changed files with 4 additions and 3 deletions
|
@ -90,8 +90,8 @@
|
||||||
|
|
||||||
- (void)dealloc
|
- (void)dealloc
|
||||||
{
|
{
|
||||||
RELEASE(_selectedTextAttributes);
|
RELEASE (_selectedTextAttributes);
|
||||||
RELEASE(_markedTextAttributes);
|
RELEASE (_markedTextAttributes);
|
||||||
|
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,8 @@
|
||||||
{
|
{
|
||||||
// Notify layoutManager of change?
|
// Notify layoutManager of change?
|
||||||
|
|
||||||
ASSIGN(_textContainer, aTextContainer);
|
/* Do not retain: text container is owning us. */
|
||||||
|
_textContainer = aTextContainer;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setTextContainerInset: (NSSize)inset
|
- (void) setTextContainerInset: (NSSize)inset
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue