Re: [evolution-patches] composer settings
- From: Ettore Perazzoli <ettore ximian com>
- To: Jeffrey Stedfast <fejj ximian com>
- Cc: Larry Ewing <lewing ximian com>, patches <evolution-patches ximian com>, Not Zed <notzed ximian com>, Radek Doulik <rodo ximian com>
- Subject: Re: [evolution-patches] composer settings
- Date: 20 May 2003 14:03:10 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]