Set the contents of a variant
variant, and takes over
the ownership of the caller’s reference to
the caller doesn’t have to unref it any more (i.e. the reference
count of the variant is not increased).
variant was floating then its floating reference is converted to
a hard reference.
If you want the
GValue to hold its own reference to
This is an internal function introduced mainly for C marshallers.
|The argument can be |
|The instance takes ownership of the data, and is responsible for freeing it.|