Method

Pango.Attribute.copy

Declaration [src]

PangoAttribute*
pango_attribute_copy (
  const PangoAttribute* attr
)

Description [src]

Make a copy of an attribute.

Return value

Returns: PangoAttribute

the newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().

The caller of the function takes ownership of the data, and is responsible for freeing it