Gimp.gradient_duplicate
Description: Reference for Gimp.gradient_duplicate

### Function

# Gimpgradient_duplicate

since: 2.2

#### Declaration [src]

    gchar*
    gimp_gradient_duplicate (
      const gchar* name
    )

#### Description [src]

Duplicates a gradient

This procedure creates an identical gradient by a different name.

Available since: 2.2

#### Parameters

`name`

  Type: `const gchar*`

  The gradient name.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `gchar*`

The name of the gradient’s copy. The returned value must be freed with g_free().

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.