Re: GDBus - Overriding org.freedesktop.DBus.Properties
- From: David Zeuthen <zeuthen gmail com>
- To: Matthew Bucknall <matthew bucknall googlemail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GDBus - Overriding org.freedesktop.DBus.Properties
- Date: Thu, 10 Feb 2011 10:21:13 -0500
Hi,
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
https://bugzilla.gnome.org/enter_bug.cgi?product=glib against the
gdbus component.
Thanks,
David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]