diff options
author | Ryan Lortie <desrt@desrt.ca> | 2010-05-14 17:06:24 +0200 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2010-05-14 17:08:01 +0200 |
commit | c57c61c930896f278de61de170e57affc243e427 (patch) | |
tree | 9ffa0c664ab52fea02b8022cfcb3e53f11e68788 | |
parent | ee9b16242c2f1e5e29170a8885fd146d44f83197 (diff) |
fix glaring inaccuracy in GVariant docs
-rw-r--r-- | glib/gvariant.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/glib/gvariant.c b/glib/gvariant.c index feb6c0bd0..fd4dea1af 100644 --- a/glib/gvariant.c +++ b/glib/gvariant.c @@ -2809,14 +2809,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 |