mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
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:
parent
ad12142943
commit
d171e83347
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user