* Source/NSBundleAdditions.m:

-[NSNibOutletConnector establishConnection] report exceptions when
	establishing a connection, but don't fail to load.  


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27840 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2009-02-11 05:43:06 +00:00
parent 55c8c91114
commit 2a6f962a4c
2 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2009-02-11 00:49-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m:
-[NSNibOutletConnector establishConnection] report exceptions when
establishing a connection, but don't fail to load.
2009-02-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSToolbarFrameworkPrivate.h: Add method

View file

@ -179,10 +179,18 @@
@implementation NSNibOutletConnector
- (void) establishConnection
{
if (_src != nil)
NS_DURING
{
[_src setValue: _dst forKey: _tag];
if (_src != nil)
{
[_src setValue: _dst forKey: _tag];
}
}
NS_HANDLER
{
NSLog(@"Error while establishing connection %@: %@",self,[localException reason]);
}
NS_ENDHANDLER;
}
@end