mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 07:50:48 +00:00
* Source/GSToolbarView.m: Use ASSIGN as suggested. This corrects
the crash and fixes the leak caused by the previous change. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27516 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e1efdc9fa4
commit
bc62fc2df3
2 changed files with 7 additions and 4 deletions
|
@ -848,13 +848,11 @@ static void initSystemExtensionsColors(void)
|
|||
{
|
||||
if (standard)
|
||||
{
|
||||
// RELEASE(BackgroundColor);
|
||||
BackgroundColor = [self standardBackgroundColor];
|
||||
ASSIGN(BackgroundColor, [self standardBackgroundColor]);
|
||||
}
|
||||
else
|
||||
{
|
||||
BackgroundColor = [NSColor clearColor];
|
||||
RETAIN(BackgroundColor);
|
||||
ASSIGN(BackgroundColor, [NSColor clearColor]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue