Method

GObjectValueget_variant

since: 2.26

Declaration

GVariant*
g_value_get_variant (
  const GValue* value
)

Description

Get the contents of a variant GValue.

Available since: 2.26

Return value

Type: GVariant

Variant contents of value (may be NULL)

The data is owned by the instance.
The return value can be NULL.