mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-13 17:40:54 +00:00
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:
parent
37acb000fd
commit
11cf284722
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
2014-01-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSFFCallInvocation.m:
|
* Source/GSFFCallInvocation.m:
|
||||||
|
|
|
@ -1194,7 +1194,7 @@ cifframe_callback(ffi_cif *cif, void *retp, void **args, void *user)
|
||||||
{
|
{
|
||||||
id value;
|
id value;
|
||||||
|
|
||||||
value = [instance valueForKey: aPath];
|
value = [instance valueForKeyPath: aPath];
|
||||||
if (value == nil)
|
if (value == nil)
|
||||||
{
|
{
|
||||||
value = null;
|
value = null;
|
||||||
|
|
Loading…
Reference in a new issue