Method

Gdk.RGBA.copy

Declaration [src]

GdkRGBA*
gdk_rgba_copy (
  const GdkRGBA* rgba
)

Description [src]

Makes a copy of a GdkRGBA.

The result must be freed through gdk_rgba_free().

Return value

Returns: GdkRGBA

A newly allocated GdkRGBA, with the same contents as rgba

Ownership of the data is transferred to the caller