git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22823 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-04-26 12:24:03 +00:00
parent 4548f94425
commit 708294204e
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,8 @@
2006-04-27 Sergii Stoian <stoyan255@ukr.net> 2006-04-26 Marcus Muller
* Source/NSKeyValueCoding.m: Fix bug #16386
2006-04-26 Sergii Stoian <stoyan255@ukr.net>
* Resources/Languages/Russian: Updates and fixes * Resources/Languages/Russian: Updates and fixes

View file

@ -341,6 +341,7 @@ static id ValueForKey(NSObject *self, const char *key, unsigned size)
if ([self methodForSelector: @selector(handleTakeValue:forUnboundKey:)] != o) if ([self methodForSelector: @selector(handleTakeValue:forUnboundKey:)] != o)
{ {
[self handleTakeValue: anObject forUnboundKey: aKey]; [self handleTakeValue: anObject forUnboundKey: aKey];
return;
} }
dict = [NSDictionary dictionaryWithObjectsAndKeys: dict = [NSDictionary dictionaryWithObjectsAndKeys:
@ -624,7 +625,7 @@ static id ValueForKey(NSObject *self, const char *key, unsigned size)
NSNull *null = [NSNull null]; NSNull *null = [NSNull null];
NSString *key; NSString *key;
GSOnceMLog(@"This method is deprecated, use -setValue:forKeyPath:"); GSOnceMLog(@"This method is deprecated, use -setValuesForKeysWithDictionary:");
while ((key = [enumerator nextObject]) != nil) while ((key = [enumerator nextObject]) != nil)
{ {
id obj = [aDictionary objectForKey: key]; id obj = [aDictionary objectForKey: key];