Backport patches from trunk

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/stable@26854 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2008-09-18 03:11:45 +00:00
parent bbd1c7cd16
commit fc639dae72
13 changed files with 291 additions and 76 deletions

View file

@ -444,8 +444,13 @@
if (_window == nil && _document != nil && _owner == _document)
{
[self setWindow: [_document _transferWindowOwnership]];
}
[self setWindow: [_document _transferWindowOwnership]];
}
else
{
// The window was already retained by the NIB loading.
RELEASE(_window);
}
}
else
{