fix glaring inaccuracy in GVariant docs

This commit is contained in:
Ryan Lortie
2010-05-14 17:06:24 +02:00
parent ee9b16242c
commit c57c61c930

View File

@@ -2809,14 +2809,10 @@ g_variant_make_array_type (GVariant *element)
* *
* Ends the builder process and returns the constructed value. * Ends the builder process and returns the constructed value.
* *
* This call automatically reduces the reference count on @builder by * It is not permissible to use @builder in any way after this call
* one, unless it has previously had g_variant_builder_no_autofree() * except for reference counting operations (in the case of a
* called on it. Unless you've taken other actions, this is usually * heap-allocated #GVariantBuilder) or by reinitialising it with
* sufficient to free @builder. * g_variant_builder_init() (in the case of stack-allocated).
*
* Even if additional references are held, it is not permissible to use
* @builder in any way after this call except for further reference
* counting operations.
* *
* It is an error to call this function in any way that would create an * It is an error to call this function in any way that would create an
* inconsistent value to be constructed (ie: insufficient number of * inconsistent value to be constructed (ie: insufficient number of