Method

CdkPixbufPixbufcopy

Declaration [src]

CdkPixbuf*
cdk_pixbuf_copy (
  const CdkPixbuf* pixbuf
)

Description [src]

Creates a new CdkPixbuf with a copy of the information in the specified pixbuf.

Note that this does not copy the options set on the original CdkPixbuf, use cdk_pixbuf_copy_options() for this.

Return value

Type: CdkPixbuf

A newly-created pixbuf.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.