mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 06:20:37 +00:00
* 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:
parent
e9aba06b34
commit
21cf915c13
4 changed files with 15 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue