projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad12142
)
GVariant: fix transfer annotation
author
Giovanni Campagna
<gcampagna@src.gnome.org>
Fri, 12 Apr 2013 15:25:15 +0000
(17:25 +0200)
committer
Giovanni Campagna
<gcampagna@src.gnome.org>
Tue, 16 Apr 2013 13:57:19 +0000
(15:57 +0200)
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
glib/gvariant-core.c
patch
|
blob
|
history
diff --git
a/glib/gvariant-core.c
b/glib/gvariant-core.c
index
b96bc90
..
f823e01
100644
(file)
--- a/
glib/gvariant-core.c
+++ b/
glib/gvariant-core.c
@@
-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
*/