[glib] Fix up a typo in the g_variant_builder_add() docs



commit 100df5287d51fd005d64f2c06f4fe4276da1c4d8
Author: Richard Hughes <richard hughsie com>
Date:   Mon May 24 17:22:38 2010 +0100

    Fix up a typo in the g_variant_builder_add() docs

 glib/gvariant.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index fd4dea1..0863f37 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -3891,8 +3891,7 @@ g_variant_get_va (GVariant     *value,
  *   GVariantBuilder *builder;
  *   int i;
  *
- *   builder = g_variant_builder_new (G_VARIANT_TYPE_CLASS_ARRAY,
- *                                    NULL);
+ *   builder = g_variant_builder_new (G_VARIANT_TYPE_ARRAY);
  *   for (i = 0; i < 16; i++)
  *     {
  *       gchar buf[3];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]