* Source/NSPopUpButtonCell.m (-setObjectValue:): Use

respondsToSelector.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21323 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2005-06-17 14:55:48 +00:00
parent 68cbacd219
commit d983c3e99f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-06-17 Adam Fedor <fedor@gnu.org>
* Source/NSPopUpButtonCell.m (-setObjectValue:): Use
respondsToSelector.
2005-06-16 Fabien Vallon <fabien@sonappart.net>
* Source/NSProgressIndicator.m: setAnimationDelay: fix typo

View file

@ -374,7 +374,7 @@ static NSImage *_pbc_image[2];
- (void) setObjectValue: (id)object
{
if ([object respondsTo: @selector(intValue)])
if ([object respondsToSelector: @selector(intValue)])
{
int i = [object intValue];