mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:20:51 +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
1e02e37227
commit
fc383e05d2
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>
|
||||
|
||||
* Headers/gnustep/gui/NSTabViewItem.h
|
||||
|
|
|
@ -121,6 +121,11 @@ _NSAppKitUncaughtExceptionHandler (NSException *exception)
|
|||
library exception handler */
|
||||
[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
|
||||
exception handler on again */
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
[_tag capitalizedString]];
|
||||
sel = NSSelectorFromString(selName);
|
||||
|
||||
if ([_src respondsToSelector: sel])
|
||||
if (sel && [_src respondsToSelector: sel])
|
||||
{
|
||||
[_src performSelector: sel withObject: _dst];
|
||||
}
|
||||
|
|
|
@ -68,7 +68,6 @@
|
|||
#ifndef __WIN32__
|
||||
#include <unistd.h> /* for L_SET, etc definitions */
|
||||
#endif /* !__WIN32__ */
|
||||
#include <AppKit/nsimage-tiff.h>
|
||||
|
||||
typedef struct {
|
||||
char* data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue