Function

GimpConfigInterfaceparam_spec_duplicate

since: 3.0

Declaration [src]

GParamSpec*
gimp_config_param_spec_duplicate (
  GParamSpec* pspec
)

Description [src]

Creates an exact copy of pspec, with all its properties, returns NULL if pspec is of an unknown type that can’t be duplicated.

Available since: 3.0

Parameters

pspec

Type: GParamSpec

The GParamSpec to duplicate.

The data is owned by the caller of the function.

Return value

Type: GParamSpec

The new GParamSpec, or NULL.

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