From 1f7e7f84f42232c04b11a11c9738b465db7d6ad2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 15 Dec 2007 04:13:15 +0000 Subject: [PATCH] Fix up docs svn path=/trunk/; revision=6131 --- glib/ghash.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/glib/ghash.c b/glib/ghash.c index 3f90399f..6ae57c7f 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. - * - * + * |[ * GHashTableIter iter; * gpointer key, value; * - * g_hash_table_iter_init(&iter, hash_table); - * while (g_hash_table_iter_next(&iter, &key, &value)) { - * /* do something with key and value */ - * } - * + * g_hash_table_iter_init (&iter, hash_table); + * while (g_hash_table_iter_next (&iter, &key, &value)) + * { + * /* do something with key and value */ + * } + * ]| * * Since: 2.16 **/ -- 2.34.1