dbusGvariantToGvalue

fnvoid dbusGvariantToGvalue(glib.variant.Variant value, out gobject.value.Value outGvalue)

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

The rules specified in the [gio.global.dbusGvalueToGvariant] function are used - this function is essentially its reverse form. So, a #GVariant containing any basic or string array type will be converted to a #GValue containing a basic value or string array. Any other #GVariant (handle, variant, tuple, dict entry) will be converted to a #GValue containing that #GVariant.

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

Parameters

valueA #GVariant.
outGvalueReturn location pointing to a zero-filled (uninitialized) #GValue.