* 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:
David Ayers 2008-03-05 12:26:13 +00:00
parent 4b6bd491a1
commit 5ecf865b39
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>
* 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();
if (o != takeValue && o != takeValueKVO)
{
(*o)(self, @selector(takeValue:forKey:), aKey);
(*o)(self, @selector(takeValue:forKey:), anObject, aKey);
return;
}
#endif