Re: [evolution-patches] composer settings



was probably thinking of NSS_GetDefaultCertDB() or something.

oh well, we leak everywhere. there is a fountain in the mailer.

*dances in the fountain*

Jeff

On Tue, 2003-05-20 at 14:03, Ettore Perazzoli wrote:
> On Tue, 2003-05-20 at 13:43, Jeffrey Stedfast wrote:
> > er, this probably applies to the patch I just commented on a few minutes
> > ago - but is it really necessary to g_object_unref() the gconf object? I
> > don't think you are supposed to do that? I got the impression that
> > gconf_client_get_default() did not return a ref'd object.
> > 
> > if we are supposed to unref it, I guess the mailer leaks references to
> > it all over the place.
> 
> You are supposed to unref it.
> 
> http://developer.gnome.org/doc/API/gconf/gconf-gconfclient.html#GCONF-CLIENT-GET-DEFAULT
> 
>         GConfClient* gconf_client_get_default       (void);
> 
>         Creates a new GConfClient using the default GConfEngine.
>         Normally this is the engine you want.
>         
>         Returns: a new GConfClient.
> 
> I don't know where you got the idea that it shouldn't be unreffed...
> 
> -- Ettore
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com




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