newTakeString

Creates a string #GVariant with the contents of @string.

Return

a floating reference to a new string #GVariant instance

Since

2.38

Parameters

string

a normal UTF-8 nul-terminated string