mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 22:10:58 +00:00
Check for sel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9895 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
70076a5e4a
commit
279ef0f07b
4 changed files with 17 additions and 2 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2001-05-07 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler): Abort
|
||||||
|
when debug buttons is pressed (so gdb can do a bt).
|
||||||
|
|
||||||
|
2001-05-06 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSBundleAdditions.m ([NSNibOutletConnector
|
||||||
|
-establishConnection]): Test for non-NULL sel (patch suggested by
|
||||||
|
Raphael Sebbe <raphael_sebbe@mac.com>).
|
||||||
|
|
||||||
2000-05-08 Fred Kiefer <FredKiefer@gmx.de>
|
2000-05-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/gnustep/gui/NSTabViewItem.h
|
* Headers/gnustep/gui/NSTabViewItem.h
|
||||||
|
|
|
@ -121,6 +121,11 @@ _NSAppKitUncaughtExceptionHandler (NSException *exception)
|
||||||
library exception handler */
|
library exception handler */
|
||||||
[exception raise];
|
[exception raise];
|
||||||
}
|
}
|
||||||
|
else if (retVal == NSAlertOther)
|
||||||
|
{
|
||||||
|
/* Debug button: abort so we can trace the error in gdb */
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
|
||||||
/* The user said to go on - more fun I guess - turn the AppKit
|
/* The user said to go on - more fun I guess - turn the AppKit
|
||||||
exception handler on again */
|
exception handler on again */
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
[_tag capitalizedString]];
|
[_tag capitalizedString]];
|
||||||
sel = NSSelectorFromString(selName);
|
sel = NSSelectorFromString(selName);
|
||||||
|
|
||||||
if ([_src respondsToSelector: sel])
|
if (sel && [_src respondsToSelector: sel])
|
||||||
{
|
{
|
||||||
[_src performSelector: sel withObject: _dst];
|
[_src performSelector: sel withObject: _dst];
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,6 @@
|
||||||
#ifndef __WIN32__
|
#ifndef __WIN32__
|
||||||
#include <unistd.h> /* for L_SET, etc definitions */
|
#include <unistd.h> /* for L_SET, etc definitions */
|
||||||
#endif /* !__WIN32__ */
|
#endif /* !__WIN32__ */
|
||||||
#include <AppKit/nsimage-tiff.h>
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char* data;
|
char* data;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue