Gets a #GVariant instance that has the same value as @value and is
trusted to be in normal form.
If @value is already trusted to be in normal form then a new
reference to @value is returned.
If @value is not already trusted, then it is scanned to check if it
is in normal form. If it is found to be in normal form then it is
marked as trusted and a new reference to it is returned.
If @value is found not to be in normal form then a new trusted
#GVariant is created with the same value as @value.
It makes sense to call this function if you've received #GVariant
data from untrusted sources and you want to ensure your serialised
output is definitely in normal form.
Gets a #GVariant instance that has the same value as @value and is trusted to be in normal form.
If @value is already trusted to be in normal form then a new reference to @value is returned.
If @value is not already trusted, then it is scanned to check if it is in normal form. If it is found to be in normal form then it is marked as trusted and a new reference to it is returned.
If @value is found not to be in normal form then a new trusted #GVariant is created with the same value as @value.
It makes sense to call this function if you've received #GVariant data from untrusted sources and you want to ensure your serialised output is definitely in normal form.