Method

GdkColorcopy

Declaration [src]

GdkColor*
gdk_color_copy (
  const GdkColor* color
)

Description [src]

Makes a copy of a GdkColor.

The result must be freed using gdk_color_free().

Deprecated since:3.14

Use GdkRGBA.

Return value

Returns: GdkColor
 

A copy of color.

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