GObject.Value.take_boxed

### Method

# GObject Valuetake_boxed

since: 2.4

#### Declaration

    void
    g_value_take_boxed (
      GValue* value,
      gconstpointer v_boxed
    )

#### Description

Sets the contents of a `G_TYPE_BOXED` derived `GValue` to `v_boxed` and takes over the ownership of the caller’s reference to `v_boxed`; the caller doesn’t have to unref it any more.

Available since: 2.4

#### Parameters

`v_boxed`

  Type: `gconstpointer`

  Duplicated unowned boxed value to be set.

  The argument can be `NULL`.
  The data is owned by the caller of the method.