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

Type: VncColorMap

The new color map.

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