Hi Kai, >a) in step 2, when calling su_glib_root_gsource(), am I > >getting a NEW reference to the GSource? This is, do I need a > >g_source_unref() for each su_glib_root_gsource()? > > it's a new reference, so you need to unref it. > > Ok, I expected that.
> >b) Is su_root_destroy() calling g_source_unref() for the GSource? > > It's calling it for additional references (these are > indirect references from other parts of sofia-sip using > the mainloop), but the initial reference is owned by > the caller of su_glib_root_gsource(). > > Ok, great. Cheers, -Aleksander
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel