value is floating, it is consumed.
The rules specified in the gvalue_to_gvariant function are used - this function is essentially its reverse form. So, a Variant containing any basic or string array type will be converted to a Value containing a basic value or string array. Any other Variant (handle, variant, tuple, dict entry) will be converted to a Value containing that Variant.
The conversion never fails - a valid Value is always returned in
Return location pointing to a zero-filled (uninitialized) Value.