Correct crash in NSToolbar.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27515 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-01-04 21:40:49 +00:00
parent 9cd9df813d
commit 3dd82a38fa
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-01-04 16:45-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSToolbarView.m: Correct crash in toolbar, since the
static constant was being released.
2009-01-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDocumentController.m: Check only shouldCreateUI before

View file

@ -848,7 +848,7 @@ static void initSystemExtensionsColors(void)
{
if (standard)
{
RELEASE(BackgroundColor);
// RELEASE(BackgroundColor);
BackgroundColor = [self standardBackgroundColor];
}
else