summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2007-12-15 04:13:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-12-15 04:13:15 +0000
commit1f7e7f84f42232c04b11a11c9738b465db7d6ad2 (patch)
treea9acebe72e953c920012999c7f10d8b4abde36e4
parentd741d3e7a344622e5a534c34e9e2c0488b2fea4d (diff)
downloadglib-1f7e7f84f42232c04b11a11c9738b465db7d6ad2.tar.gz
Fix up docs
svn path=/trunk/; revision=6131
-rw-r--r--glib/ghash.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/glib/ghash.c b/glib/ghash.c
index 3f90399f5..6ae57c7f1 100644
--- a/glib/ghash.c
+++ b/glib/ghash.c
@@ -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
**/