Fix up docs
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 15 Dec 2007 04:13:15 +0000 (04:13 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 15 Dec 2007 04:13:15 +0000 (04:13 +0000)
svn path=/trunk/; revision=6131

glib/ghash.c

index 3f90399..6ae57c7 100644 (file)
@@ -368,16 +368,16 @@ g_hash_table_new_full (GHashFunc       hash_func,
  * Initializes a key/value pair iterator and associates it with
  * @hash_table. Modifying the hash table after calling this function
  * invalidates the returned iterator.
- *
- * <informalexample><programlisting>
+ * |[
  * GHashTableIter iter;
  * gpointer key, value;
  *
- * g_hash_table_iter_init(&iter, hash_table);
- * while (g_hash_table_iter_next(&iter, &key, &value)) {
- *   /&ast; do something with key and value &ast;/
- * }
- * </programlisting></informalexample>
+ * g_hash_table_iter_init (&iter, hash_table);
+ * while (g_hash_table_iter_next (&iter, &key, &value)) 
+ *   {
+ *     /&ast; do something with key and value &ast;/
+ *   }
+ * ]|
  *
  * Since: 2.16
  **/