DBUS service using glib: question

Robert McQueen robert.mcqueen at collabora.co.uk
Mon Jun 26 04:36:30 PDT 2006

Xavier Claessens wrote:
> Thanks for answers. Maybe I didn't looked enough to documentation, but
> how can I get the client's unique name ? And how can I get notified when
> it disappear ? I can't find that in glib's API but it is maybe in lower
> level API ?

In the glib bindings, if you use dbus_g_proxy_for_name_owner (rather
than for_name), the proxy object will emit "destroy" when the unique
name of the service providing the object goes away (the proxy manager
listens to NameOwnerChanged for you).


More information about the dbus mailing list