Re: Ownership transfer for load_font/load_fontset functions



On 04/25/11 17:13, Alberto Ruiz wrote:
> Hello,
> 
> I am trying to fix the gir warnings for the return value of the
> following functions:
> 
> pango-context.c: * pango_context_load_font:
> pango-fontmap.c: * pango_font_map_load_font:
> pango-context.c: * pango_context_load_fontset:
> pango-fontmap.c: * pango_font_map_load_fontset:
> 
> It is not clear to me whether the object returned by those functions
> are owned by the callee and should unref or not.
> 
> Can anyone please clarify?

All four transfer reference to caller.

behdad



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