Method

GimpResourceduplicate

since: 3.0

Declaration [src]

GimpResource*
gimp_resource_duplicate (
  GimpResource* resource
)

Description [src]

Duplicates a resource.

Returns a copy having a different, unique ID.

Available since: 3.0

Return value

Type: GimpResource

A copy of the resource.

The data is owned by the instance.