Method

ClutterColorcopy

Declaration [src]

ClutterColor*
clutter_color_copy (
  const ClutterColor* color
)

Description [src]

Makes a copy of the color structure. The result must be freed using clutter_color_free().

Available since:0.2

Return value

Returns: ClutterColor
 

An allocated copy of color.

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