Gio.dbus_gvariant_to_gvalue
function dbus_gvariant_to_gvalue(value: GLib.Variant): Any {
// Gjs wrapper for g_dbus_gvariant_to_gvalue()
}
Converts a GLib.Variant to a GObject.Value. If value is floating, it is consumed.
The rules specified in the Gio.dbus_gvalue_to_gvariant function are used - this function is essentially its reverse form.
The conversion never fails - a valid GObject.Value is always returned in @out_gvalue.
Since 2.30
- value
A GLib.Variant.
- Returns
Return location pointing to a zero-filled (uninitialized) GObject.Value.