[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBUS service using glib: question
From:       Ross Burton <ross () burtonini ! com>
Date:       2006-07-19 13:51:15
Message-ID: 1153317075.18073.31.camel () localhost ! localdomain
[Download RAW message or body]

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@burtonini.com
                                          jabber: ross@burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic