* Source/NSKeyValueCoding.m ([-setValue:forKey:]): Pass value

to takeValue:forKey:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26200 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2008-03-05 12:26:13 +00:00
parent ddf52b8752
commit 93f1534035
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-03-05 Matt Rice <ratmice@gmail.com>
* Source/NSKeyValueCoding.m ([-setValue:forKey:]): Pass value
to takeValue:forKey:.
2008-03-05 Richard Frith-Macdonald <rfm@gnu.org> 2008-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m Make better guess at what the caller meant when * Source/NSBundle.m Make better guess at what the caller meant when

View file

@ -370,7 +370,7 @@ static id ValueForKey(NSObject *self, const char *key, unsigned size)
setupCompat(); setupCompat();
if (o != takeValue && o != takeValueKVO) if (o != takeValue && o != takeValueKVO)
{ {
(*o)(self, @selector(takeValue:forKey:), aKey); (*o)(self, @selector(takeValue:forKey:), anObject, aKey);
return; return;
} }
#endif #endif