Re: GDBus - Overriding org.freedesktop.DBus.Properties


On Thu, Feb 10, 2011 at 10:01 AM, Matthew Bucknall
<matthew bucknall googlemail com> wrote:
> 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.

Nah, we should fix GDBus to not do that - please file a bug at against the
gdbus component.


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