GDBus - Overriding org.freedesktop.DBus.Properties

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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]