* Source/GSNibLoading.m: Make the log ino debug in awakeFromNib

* Source/NSApplication.m: Allow modal to end multiple times, per spec
        there is no exception for doing this.
        * Source/NSPasteboard.m: Allow multiple threads in pasteboard
        communication.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27306 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-12-16 18:59:26 +00:00
parent e9aba06b34
commit 21cf915c13
4 changed files with 15 additions and 3 deletions

View file

@ -1779,8 +1779,10 @@ See -runModalForWindow:
{
if (_session == 0)
{
[NSException raise: NSInvalidArgumentException
format: @"stopModalWithCode: when not in a modal session"];
// According to the spec, there is no exception which is thrown if we are not
// currently in a modal session. While it is not good practice to call this
// when we're not, we shouldn't throw an exception.
return;
}
else if (returnCode == NSRunContinuesResponse)
{