Ownership transfer for load_font/load_fontset functions


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?

Alberto Ruiz

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