DBusUtilities.gvariantToGvalue

Converts a glib.Variant to a gobject.Value 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. So, a glib.Variant containing any basic or string array type will be converted to a gobject.Value containing a basic value or string array. Any other glib.Variant (handle, variant, tuple, dict entry) will be converted to a gobject.Value containing that glib.Variant

The conversion never fails - a valid gobject.Value is always returned in out_gvalue.

struct DBusUtilities
static
void
gvariantToGvalue

Parameters

value Variant
outGvalue Value

Return location pointing to a zero-filled (uninitialized) gobject.Value

Meta

Since

2.30