Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
fix glaring inaccuracy in GVariant docs
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonkarlitskaya committed May 24, 2010
1 parent 1fd2aa2 commit b5d200d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions glib/gvariant.c
Original file line number Diff line number Diff line change
Expand Up @@ -2619,14 +2619,10 @@ g_variant_make_array_type (GVariant *element)
*
* Ends the builder process and returns the constructed value.
*
* This call automatically reduces the reference count on @builder by
* one, unless it has previously had g_variant_builder_no_autofree()
* called on it. Unless you've taken other actions, this is usually
* sufficient to free @builder.
*
* 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 not permissible to use @builder in any way after this call
* except for reference counting operations (in the case of a
* heap-allocated #GVariantBuilder) or by reinitialising it with
* g_variant_builder_init() (in the case of stack-allocated).
*
* It is an error to call this function in any way that would create an
* inconsistent value to be constructed (ie: insufficient number of
Expand Down

0 comments on commit b5d200d

Please sign in to comment.