copy_static


Description:

public FontDescription? copy_static ()

Make a copy of a `PangoFontDescription`, but don't duplicate allocated fields.

This is like [method@Pango.FontDescription.copy], but only a shallow copy is made of the family name and other allocated fields. The result can only be used until this is modified or freed. This is meant to be used when the copy is only needed temporarily.

Parameters:

this

a `PangoFontDescription`, may be null

Returns:

the newly allocated `PangoFontDescription`, which should be freed with [method@Pango.FontDescription.free], or null if this was null.