GVariant: fix transfer annotation

g_variant_new_from_bytes() returns a floating reference, so it
must be annotated (transfer none)

https://bugzilla.gnome.org/show_bug.cgi?id=697887
This commit is contained in:
Giovanni Campagna 2013-04-12 17:25:15 +02:00
parent ad12142943
commit d171e83347

View File

@ -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
*/