Commit d171e833 authored by Giovanni Campagna's avatar Giovanni Campagna

GVariant: fix transfer annotation

g_variant_new_from_bytes() returns a floating reference, so it
must be annotated (transfer none)
parent ad121429
......@@ -498,7 +498,7 @@ g_variant_alloc (const GVariantType *type,
* A reference is taken on @bytes.
* Returns: a new #GVariant with a floating reference
* Returns: (transfer none): a new #GVariant with a floating reference
* Since: 2.36
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment