projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
875ffc4
)
Realign the hash set example with added api
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 7 Jan 2012 01:48:04 +0000
(20:48 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 Jan 2012 20:23:25 +0000
(15:23 -0500)
Change the name of set_insert to set_add, to better match the
newly added g_hash_table_add.
glib/ghash.c
patch
|
blob
|
history
diff --git
a/glib/ghash.c
b/glib/ghash.c
index
1fbaaf4
..
93655fd
100644
(file)
--- a/
glib/ghash.c
+++ b/
glib/ghash.c
@@
-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