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:
316be27
)
Document that g_variant_builder_add_value consumes a floating ref
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 Dec 2010 05:19:45 +0000
(
00:19
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 Dec 2010 05:19:45 +0000
(
00:19
-0500)
Patch by Mikkel Kamstrup Erlandsen, bug
https://bugzilla.gnome.org/show_bug.cgi?id=634569
glib/gvariant.c
patch
|
blob
|
history
diff --git
a/glib/gvariant.c
b/glib/gvariant.c
index 89374454ff845b57734209aa25a64dad135f2807..a613a5760faf0d730d8c57b898e5b0c8c1b0404f 100644
(file)
--- a/
glib/gvariant.c
+++ b/
glib/gvariant.c
@@
-3058,6
+3058,9
@@
g_variant_builder_make_room (struct stack_builder *builder)
* types or number of items in a tuple, putting more than one value into
* a variant, etc.
*
+ * If @value is a floating reference (see g_variant_ref_sink()),
+ * the @builder instance takes ownership of @value.
+ *
* Since: 2.24
**/
void