Make g_variant_builder_end's return to be (allow none) because callers
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Mon, 13 Sep 2010 15:53:54 +0000 (17:53 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Mon, 13 Sep 2010 15:55:18 +0000 (17:55 +0200)
need to add a ref to it in addition to sinking it.

glib/gvariant.c

index bbfa95c..133bfa1 100644 (file)
@@ -3056,7 +3056,7 @@ g_variant_make_array_type (GVariant *element)
 /**
  * g_variant_builder_end:
  * @builder: a #GVariantBuilder
- * @returns: a new, floating, #GVariant
+ * @returns: (transfer none): a new, floating, #GVariant
  *
  * Ends the builder process and returns the constructed value.
  *