mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 12:20:59 +00:00
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:
parent
2695730218
commit
a30ca891e5
2 changed files with 12 additions and 9 deletions
|
@ -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>
|
2004-06-25 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/GSNibCompatibility.m: Print a message when .gorm files are
|
* Source/GSNibCompatibility.m: Print a message when .gorm files are
|
||||||
|
@ -71,7 +76,6 @@
|
||||||
* Source/GSDragView.m: (-_handleEventDuringDragging:) Get mouse
|
* Source/GSDragView.m: (-_handleEventDuringDragging:) Get mouse
|
||||||
location on periodic event.
|
location on periodic event.
|
||||||
|
|
||||||
>>>>>>> 1.2286
|
|
||||||
2004-06-19 Fred Kiefer <FredKiefer@gmx.de>
|
2004-06-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Added new method
|
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Added new method
|
||||||
|
@ -83,7 +87,6 @@
|
||||||
(-_windowAcceptingDnDunder:windowRef:) with new GSDisplayServer
|
(-_windowAcceptingDnDunder:windowRef:) with new GSDisplayServer
|
||||||
method.
|
method.
|
||||||
|
|
||||||
>>>>>>> 1.2283
|
|
||||||
2004-06-17 Fred Kiefer <FredKiefer@gmx.de>
|
2004-06-17 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSComboBoxCell.m: buttonCellFrameFromRect(),
|
* Source/NSComboBoxCell.m: buttonCellFrameFromRect(),
|
||||||
|
|
|
@ -606,7 +606,7 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
|
|
||||||
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
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
|
// if we are not in interface builder, call
|
||||||
// designated initializer per spec...
|
// designated initializer per spec...
|
||||||
|
@ -648,7 +648,7 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
{
|
{
|
||||||
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
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];
|
NSRect theFrame = [obj frame];
|
||||||
obj = [obj initWithFrame: theFrame];
|
obj = [obj initWithFrame: theFrame];
|
||||||
|
@ -677,7 +677,7 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
{
|
{
|
||||||
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
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];
|
NSRect theFrame = [obj frame];
|
||||||
obj = [obj initWithFrame: theFrame];
|
obj = [obj initWithFrame: theFrame];
|
||||||
|
@ -706,7 +706,7 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
{
|
{
|
||||||
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
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];
|
NSRect theFrame = [obj frame];
|
||||||
id textContainer = [obj textContainer];
|
id textContainer = [obj textContainer];
|
||||||
|
@ -737,7 +737,7 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
{
|
{
|
||||||
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
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];
|
NSString *theTitle = [obj title];
|
||||||
obj = [obj initWithTitle: theTitle];
|
obj = [obj initWithTitle: theTitle];
|
||||||
|
@ -768,7 +768,7 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
/*
|
/*
|
||||||
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
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];
|
NSRect theFrame = [obj frame];
|
||||||
obj = [obj initWithFrame: theFrame];
|
obj = [obj initWithFrame: theFrame];
|
||||||
|
@ -797,7 +797,7 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
{
|
{
|
||||||
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
if(![self respondsToSelector: @selector(isInInterfaceBuilder)])
|
||||||
{
|
{
|
||||||
if(GSGetInstanceMethodNotInherited([obj class],@selector(init)) != NULL)
|
if(GSGetMethod([obj class],@selector(init), NO, NO) != NULL)
|
||||||
{
|
{
|
||||||
obj = [self init];
|
obj = [self init];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue