patch for bug #41324 by Frederik <ego@frederikseiffert.de>

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37634 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2014-01-25 06:58:30 +00:00
parent 37acb000fd
commit 11cf284722
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2014-01-25 Frederik <ego@frederikseiffert.de>
* Source/NSKeyValueObserving.m: When using
(NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew)
as option for observeValueForKeyPath:ofObject:change:context:,
we should use -valueForKeyPath: instead of -valueForKey: to retrieve
the current (initial) value.
2014-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:

View file

@ -1194,7 +1194,7 @@ cifframe_callback(ffi_cif *cif, void *retp, void **args, void *user)
{
id value;
value = [instance valueForKey: aPath];
value = [instance valueForKeyPath: aPath];
if (value == nil)
{
value = null;