Creates a string
GVariant with the contents of
string must be valid UTF-8, and must not be
NULL. To encode
NULL strings, use this with g_variant_new_maybe().
This function consumes
g_free() will be called on
when it is no longer required.
You must not modify or access
string in any other way after passing
it to this function. It is even possible that
string is immediately freed.
A normal UTF-8 nul-terminated string.
|The data is owned by the caller of the function.|
|The string is a NUL terminated UTF-8 string.|
A floating reference to a new string
|The data is owned by the called function.|