GVariant: document avoiding g_variant_iter_loop
authorRyan Lortie <desrt@desrt.ca>
Wed, 20 Jul 2011 14:34:55 +0000 (16:34 +0200)
committerRyan Lortie <desrt@desrt.ca>
Wed, 20 Jul 2011 14:34:55 +0000 (16:34 +0200)
commit33c977917c1dbcfec56168083dc05837da8ea57c
treec9551eec419b42340c27294fc91a0825e08750da
parent19878998bc386db78614f1c92ff8524a81479c7b
GVariant: document avoiding g_variant_iter_loop

The choice between g_variant_iter_next() and g_variant_iter_loop() is a
bit confusing for some people.  Add a note to the documentation of
g_variant_iter_loop() to clarify that it should be avoided except in a
few specific cases.
glib/gvariant.c