Re: gconf_client_get_default() usage and refcounts
- From: Havoc Pennington <hp redhat com>
- To: Kjartan Maraas <kmaraas broadpark no>
- Cc: desktop-devel-list gnome org
- Subject: Re: gconf_client_get_default() usage and refcounts
- Date: Wed, 05 Jan 2005 14:59:09 -0500
On Wed, 2005-01-05 at 13:01 +0100, Kjartan Maraas wrote:
>
> Maybe a case where we need a guideline and someone to audit all uses of
> this function?
I think we should just pretend it returns a global singleton that's
never freed. We might add a hack to check if the refcount is close to
overflowing and skip the g_object_ref() in that case ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]