DBUS service using glib: question

Ross Burton ross at burtonini.com
Wed Jul 19 06:51:15 PDT 2006


On Wed, 2006-07-19 at 15:46 +0200, Xavier Claessens wrote:
> So I register an object for each client with
> dbus_g_connection_register_g_object(). When the client disconnect how
> can I "unregister" the object and destroy it ? g_object_unref() is
> enough ?

Yes (assuming that the unref causes the object to be destroyed).

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF





More information about the dbus mailing list