mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:10:48 +00:00
* 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:
parent
55c8c91114
commit
2a6f962a4c
2 changed files with 16 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue