Re: gconf_client_get_default() usage and refcounts



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]