Method

CdkPixbufPixbufFormatcopy

since: 2.22

Declaration [src]

CdkPixbufFormat*
cdk_pixbuf_format_copy (
  const CdkPixbufFormat* format
)

Description [src]

Creates a copy of format.

Available since: 2.22

Return value

Type: CdkPixbufFormat

The newly allocated copy of a CdkPixbufFormat. Use cdk_pixbuf_format_free() to free the resources when done.

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