Document that g_variant_builder_add_value consumes a floating ref

Patch by Mikkel Kamstrup Erlandsen, bug
https://bugzilla.gnome.org/show_bug.cgi?id=634569
This commit is contained in:
Matthias Clasen 2010-12-28 00:19:45 -05:00
parent 316be2748f
commit b27ecf79e8

View File

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