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
* set_insert (GHashTable *set,
* gpointer element)
* set_add (GHashTable *set,
* gpointer element)
* {
* g_hash_table_insert (set, element, element);
* g_hash_table_replace (set, element, element);
* }
*
* gboolean