mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 12:53:07 +02: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.
|
* 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
|
* Since: 2.36
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user