From dd7c51c1f4c000c49990e568cbd992bb9f45a4a4 Mon Sep 17 00:00:00 2001 From: David Ayers Date: Sun, 30 Apr 2006 09:17:09 +0000 Subject: [PATCH] * GormCore/GormCustomClassInspector.m ([-_replaceWithCellClassForClassName:]): Cast to NSCell to invoke type to disambiguate incompatible method signatures. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22841 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ GormCore/GormCustomClassInspector.m | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b577e3ab..76cf957e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-30 09:15 David Ayers + + * GormCore/GormCustomClassInspector.m + ([-_replaceWithCellClassForClassName:]): Cast to NSCell to invoke + type to disambiguate incompatible method signatures. + 2006-04-08 15:16 Gregory John Casamento * Version 1.0.6 diff --git a/GormCore/GormCustomClassInspector.m b/GormCore/GormCustomClassInspector.m index 660e9f0b..da4ff2a3 100644 --- a/GormCore/GormCustomClassInspector.m +++ b/GormCore/GormCustomClassInspector.m @@ -255,7 +255,7 @@ [newCell setState: [cell state]]; } - if([cell type] == NSTextCellType) + if([(NSCell *)cell type] == NSTextCellType) { // title... if([newCell respondsToSelector: @selector(setStringValue:)] && @@ -274,7 +274,7 @@ [newCell setAlternateTitle: [cell alternateTitle]]; } } - else if([cell type] == NSImageCellType) + else if([(NSCell *)cell type] == NSImageCellType) { // images... if([newCell respondsToSelector: @selector(setAlternateImage:)] &&