GDBus - Overriding org.freedesktop.DBus.Properties
- From: Matthew Bucknall <matthew bucknall googlemail com>
- To: gtk-devel-list gnome org
- Subject: GDBus - Overriding org.freedesktop.DBus.Properties
- Date: Thu, 10 Feb 2011 15:01:36 +0000
To handle setting/getting of D-Bus properties asynchronously, the documentation for GDBusConnection states:
'...simply register an object with the org.freedesktop.DBus.Properties D-Bus interface using g_dbus_connection_register_object().'
This works so far as allowing an application to handle Get, GetAll, Set method invocations itself. However, the introspection data for an object handling its own property interface ends up with the org.freedesktop.DBus.Properties interface being described twice. Is this considered correct behavior? At the very least it causes d-feet to complain with 'ERROR: Some clever service is trying to be cute and has the same method name in the same interface' although maybe some would consider that just meaning d-feet is being a little pedantic.
] [Thread Prev