mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 17:22:10 +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
|
@ -1,3 +1,8 @@
|
|||
2009-01-04 18:32-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/GSToolbarView.m: Use ASSIGN as suggested. This corrects
|
||||
the crash and fixes the leak caused by the previous change.
|
||||
|
||||
2009-01-04 16:45-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/GSToolbarView.m: Correct crash in toolbar, since the
|
||||
|
|
|
@ -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