Method
Pango.FontDescription.copy_static
Declaration [src]
PangoFontDescription*
pango_font_description_copy_static (
const PangoFontDescription* desc
)
Description [src]
Make a copy of a PangoFontDescription
, but don’t duplicate
allocated fields.
This is like pango_font_description_copy()
, but only a shallow
copy is made of the family name and other allocated fields. The result
can only be used until desc
is modified or freed. This is meant
to be used when the copy is only needed temporarily.
Return value
Returns: PangoFontDescription |
|
the newly allocated |
|
Ownership of the data is transferred to the caller | |
Can be NULL |