Workaround for Bean NIB loading issue.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30016 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2010-03-21 23:27:47 +00:00
parent aaf93b224a
commit ef7e4a291b
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2010-03-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDocument.m (-close): Retain and autorelease self before
removing from the document controller. This will keep the document
valid until the window is completely closed.
2010-03-20 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSSearchFieldCell.m:

View file

@ -1649,6 +1649,7 @@ originalContentsURL: (NSURL *)orig
[array[count] close];
}
[self _removeAutosavedContentsFile];
AUTORELEASE(RETAIN(self));
[[NSDocumentController sharedDocumentController] removeDocument: self];
}
}