glib/gvariant.c: Fix variable name in example code

This commit is contained in:
Shaun McCance 2011-04-28 12:41:41 -04:00
parent a1fbe7ae84
commit e585059514

View File

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