Realign the hash set example with added api

Change the name of set_insert to set_add, to better match the
newly added g_hash_table_add.
This commit is contained in:
Matthias Clasen 2012-01-06 20:48:04 -05:00
parent 875ffc41b7
commit 39dc681fc7

View File

@ -102,10 +102,10 @@
* } * }
* *
* void * void
* set_insert (GHashTable *set, * set_add (GHashTable *set,
* gpointer element) * gpointer element)
* { * {
* g_hash_table_insert (set, element, element); * g_hash_table_replace (set, element, element);
* } * }
* *
* gboolean * gboolean