Re: Ownership transfer for load_font/load_fontset functions
- From: Behdad Esfahbod <behdad behdad org>
- To: Alberto Ruiz <aruiz gnome org>
- Cc: behdad gnome org, gtk-i18n-list gnome org
- Subject: Re: Ownership transfer for load_font/load_fontset functions
- Date: Tue, 26 Apr 2011 14:25:47 -0400
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]