Variant.dupString

Similar to g_variant_get_string() except that instead of returning a constant string, the string is duplicated. The string will always be utf8 encoded. The return value must be freed using g_free(). Since 2.24

class Variant
string
dupString
()

Return Value

Type: string

a newly allocated string, utf8 encoded. [transfer full]

Meta