newVariant
Boxes @value. The result is a #GVariant instance representing a variant containing the original value.
If @child is a floating reference (see g_variant_ref_sink()), the new instance takes ownership of @child.
Return
a floating reference to a new variant #GVariant instance
Since
2.24
Parameters
value
a #GVariant instance