Replace calls to GSGetInstanceMethodNotInherited with calls to GSGetMethod.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19634 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
alexm 2004-06-27 21:14:04 +00:00
parent 2695730218
commit a30ca891e5
2 changed files with 12 additions and 9 deletions

View file

@ -1,3 +1,8 @@
2004-06-27 23:10 Alexander Malmberg <alexander@malmberg.org>
* Source/GSNibTemplates.m: Replace calls to
GSGetInstanceMethodNotInherited with calls to GSGetMethod.
2004-06-25 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibCompatibility.m: Print a message when .gorm files are
@ -71,7 +76,6 @@
* Source/GSDragView.m: (-_handleEventDuringDragging:) Get mouse
location on periodic event.
>>>>>>> 1.2286
2004-06-19 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Added new method
@ -83,7 +87,6 @@
(-_windowAcceptingDnDunder:windowRef:) with new GSDisplayServer
method.
>>>>>>> 1.2283
2004-06-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSComboBoxCell.m: buttonCellFrameFromRect(),

View file

@ -606,7 +606,7 @@ static const int currentVersion = 1; // GSNibItem version number...
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
{
if(GSGetInstanceMethodNotInherited([obj class], @selector(initWithContentRect:styleMask:backing:defer:)) != NULL)
if(GSGetMethod([obj class], @selector(initWithContentRect:styleMask:backing:defer:), NO, NO) != NULL)
{
// if we are not in interface builder, call
// designated initializer per spec...
@ -648,7 +648,7 @@ static const int currentVersion = 1; // GSNibItem version number...
{
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
{
if(GSGetInstanceMethodNotInherited([obj class],@selector(initWithFrame:)) != NULL)
if(GSGetMethod([obj class],@selector(initWithFrame:), NO, NO) != NULL)
{
NSRect theFrame = [obj frame];
obj = [obj initWithFrame: theFrame];
@ -677,7 +677,7 @@ static const int currentVersion = 1; // GSNibItem version number...
{
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
{
if(GSGetInstanceMethodNotInherited([obj class],@selector(initWithFrame:)) != NULL)
if(GSGetMethod([obj class],@selector(initWithFrame:), NO, NO) != NULL)
{
NSRect theFrame = [obj frame];
obj = [obj initWithFrame: theFrame];
@ -706,7 +706,7 @@ static const int currentVersion = 1; // GSNibItem version number...
{
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
{
if(GSGetInstanceMethodNotInherited([obj class],@selector(initWithFrame:textContainer:)) != NULL)
if(GSGetMethod([obj class],@selector(initWithFrame:textContainer:), NO, NO) != NULL)
{
NSRect theFrame = [obj frame];
id textContainer = [obj textContainer];
@ -737,7 +737,7 @@ static const int currentVersion = 1; // GSNibItem version number...
{
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
{
if(GSGetInstanceMethodNotInherited([obj class],@selector(initWithTitle:)) != NULL)
if(GSGetMethod([obj class],@selector(initWithTitle:), NO, NO) != NULL)
{
NSString *theTitle = [obj title];
obj = [obj initWithTitle: theTitle];
@ -768,7 +768,7 @@ static const int currentVersion = 1; // GSNibItem version number...
/*
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
{
if(GSGetInstanceMethodNotInherited([obj class],@selector(initWithFrame:)) != NULL)
if(GSGetMethod([obj class],@selector(initWithFrame:), NO, NO) != NULL)
{
NSRect theFrame = [obj frame];
obj = [obj initWithFrame: theFrame];
@ -797,7 +797,7 @@ static const int currentVersion = 1; // GSNibItem version number...
{
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
{
if(GSGetInstanceMethodNotInherited([obj class],@selector(init)) != NULL)
if(GSGetMethod([obj class],@selector(init), NO, NO) != NULL)
{
obj = [self init];
}