mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-04 03:30:52 +00:00
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:
parent
402a8fef59
commit
ec2ea1114d
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2010-03-20 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/NSSearchFieldCell.m:
|
* Source/NSSearchFieldCell.m:
|
||||||
|
|
|
@ -1649,6 +1649,7 @@ originalContentsURL: (NSURL *)orig
|
||||||
[array[count] close];
|
[array[count] close];
|
||||||
}
|
}
|
||||||
[self _removeAutosavedContentsFile];
|
[self _removeAutosavedContentsFile];
|
||||||
|
AUTORELEASE(RETAIN(self));
|
||||||
[[NSDocumentController sharedDocumentController] removeDocument: self];
|
[[NSDocumentController sharedDocumentController] removeDocument: self];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue