Method

GdkColorcopy

deprecated: 3.14 

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

Type: GdkColor

A copy of color.

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