glib/gvariant.c: Fix variable name in example code
authorShaun McCance <shaunm@gnome.org>
Thu, 28 Apr 2011 16:41:41 +0000 (12:41 -0400)
committerShaun McCance <shaunm@gnome.org>
Thu, 28 Apr 2011 16:41:41 +0000 (12:41 -0400)
glib/gvariant.c

index b77e60d5ed0bcbaf304d04421df354276e321720..52a63495b544940f66c798679ca4c5e2b4b8c340 100644 (file)
@@ -2693,7 +2693,7 @@ g_variant_iter_free (GVariantIter *iter)
  *     GVariantIter iter;
  *     GVariant *child;
  *
- *     g_variant_iter_init (&iter, dictionary);
+ *     g_variant_iter_init (&iter, container);
  *     while ((child = g_variant_iter_next_value (&iter)))
  *       {
  *         g_print ("type '%s'\n", g_variant_get_type_string (child));