Method

GVncColorMapcopy

Declaration [src]

VncColorMap*
vnc_color_map_copy (
  VncColorMap* map
)

Description [src]

Allocate a new color map initializing it with a copy of the data stored in map.

Return value

Returns: VncColorMap
 

The new color map.

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