GDBusProxy: Correctly handle unknown members when having an expected interface
authorDavid Zeuthen <davidz@redhat.com>
Tue, 4 Oct 2011 15:37:16 +0000 (11:37 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 5 Oct 2011 14:45:22 +0000 (10:45 -0400)
commit2b963266b68a3b14afcaa237ed41319c99949e43
treed5d565aef43ffde01aa47e6b0e45a96be4095843
parent2f48b4b7fb4d2d1f758ce5a8064ab51ac3d17a12
GDBusProxy: Correctly handle unknown members when having an expected interface

Since it is valid for a D-Bus interface / service to add new methods,
signals or properties we must NEVER warn about unknown properties or
drop unknown signals or disallow unknown method invocations when we
have an expected interface.

So this means that the expected_interface machinery is only useful for
checking that the service didn't break ABI.

Also update the docs so it is clear exactly what it means to have an
expected interface.

https://bugzilla.gnome.org/show_bug.cgi?id=660886

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusproxy.c
gio/tests/gdbus-proxy.c
gio/tests/gdbus-testserver.py