mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 16:10:55 +00:00
* 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:
parent
68cbacd219
commit
d983c3e99f
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue