Re: [Vala] DBus object at multiple paths



Dear Michael,

On Fri, 2009-06-26 at 14:41 +0200, Michael 'Mickey' Lauer wrote:
Dear Yu,

Am Freitag, den 26.06.2009, 08:52 +0800 schrieb Yu Feng:
Long time ago before the DBus is rewritten we can use
Connection.register_object in dbus-glib-1.vapi

Not sure if it is still useful nowadays.

I spotted this, but calling it more than once seems to have no effect.
My bad. Look at this line:
http://cgit.freedesktop.org/dbus/dbus-glib/tree/dbus/dbus-gobject.c#n2140

A short glance doesn't tell me why dbus_g_connection_register_g_object
avoids duplicated registrations. Especially if the
"dbus_glib_object_registration" member is replaced with a GList.

Can you see any other reasons? Should we file a bug to dbus-glib?

Regards,

Yu


:M:






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