DBusUtilities.gvariantToGvalue

Converts a #GVariant to a #GValue. If @value is floating, it is consumed.

The rules specified in the g_dbus_gvalue_to_gvariant() function are used - this function is essentially its reverse form.

The conversion never fails - a valid #GValue is always returned in @out_gvalue.

struct DBusUtilities
static
void
gvariantToGvalue

Parameters

value Variant

A #GVariant.

outGvalue Value

Return location pointing to a zero-filled (uninitialized) #GValue.

Meta

Since

2.30