mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
* EOControl/EOFault.m ([EOFault -respondsToSelector:]): Adapt to
current GSObjCRuntime API. * EOControl/EOUndoManager.h: Correct includes. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@16998 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9b3d313aa6
commit
f96edf1405
3 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-06-21 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOControl/EOFault.m ([EOFault -respondsToSelector:]): Adapt to
|
||||
current GSObjCRuntime API.
|
||||
* EOControl/EOUndoManager.h: Correct includes.
|
||||
|
||||
2003-06-01 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* gdl2.make.in: Set GDL2 as auxiliary preprocessor flag.
|
||||
|
|
|
@ -313,9 +313,6 @@ static Class EOFaultClass = NULL;
|
|||
{
|
||||
Class class;
|
||||
BOOL respondsToSelector;
|
||||
/* Ayers 2003-05-20: This declaration is a temporary hack
|
||||
until a more consistent set of function is in place in GSObjCRuntime.h */
|
||||
extern IMP GSObjCGetMethod(Class class, SEL sel);
|
||||
|
||||
NSDebugFLLog(@"gsdb", @"START self=%p", self);
|
||||
|
||||
|
@ -323,7 +320,7 @@ static Class EOFaultClass = NULL;
|
|||
NSDebugFLLog(@"gsdb", @"class=%@ aSelector=%@", class,
|
||||
NSStringFromSelector(aSelector));
|
||||
|
||||
respondsToSelector = (GSObjCGetMethod(class, aSelector) != (IMP)0);
|
||||
respondsToSelector = (GSGetInstanceMethod(class, aSelector) != (IMP)0);
|
||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
||||
|
||||
return respondsToSelector;
|
||||
|
|
|
@ -24,7 +24,11 @@
|
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/NSUndoManager.h>
|
||||
#ifndef NeXT_Foundation_LIBRARY
|
||||
#include <Foundation/NSUndoManager.h>
|
||||
#else
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
|
||||
|
||||
@interface EOUndoManager : NSUndoManager
|
||||
|
|
Loading…
Reference in a new issue