summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-01-11 15:58:08 -0500
committerColin Walters <walters@verbum.org>2012-01-11 15:58:08 -0500
commit526ba422f196c0287311b913fb1f05b043f7f093 (patch)
tree4758551118375289e11094c15e8258f1d568c397 /gir/glib-2.0.c
parentbfe51fb9472df24ca21c16f5d2af64f8533807e1 (diff)
downloadgobject-introspection-526ba422f196c0287311b913fb1f05b043f7f093.tar.gz
Update annotations from glib git
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 55807157..e7756af9 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -11474,10 +11474,10 @@
* }
*
* void
- * set_insert (GHashTable *set,
+ * set_add (GHashTable *set,
* gpointer element)
* {
- * g_hash_table_insert (set, element, element);
+ * g_hash_table_replace (set, element, element);
* }
*
* gboolean
@@ -20050,7 +20050,7 @@
* for which @predicate evaluates to %TRUE. If no pair with the
* requested property is found, %NULL is returned.
*
- * Returns: The value of the first key/value pair is returned,
+ * Returns: (allow-none): The value of the first key/value pair is returned,
* Since: 2.4
*/
@@ -20275,7 +20275,7 @@
* and has the value %NULL. If you need this distinction, use
* g_hash_table_lookup_extended().
*
- * Returns: the associated value, or %NULL if the key is not found
+ * Returns: (allow-none): the associated value, or %NULL if the key is not found
*/
@@ -20283,8 +20283,8 @@
* g_hash_table_lookup_extended:
* @hash_table: a #GHashTable
* @lookup_key: the key to look up
- * @orig_key: return location for the original key, or %NULL
- * @value: return location for the value associated with the key, or %NULL
+ * @orig_key: (allow-none): return location for the original key, or %NULL
+ * @value: (allow-none): return location for the value associated with the key, or %NULL
*
* Looks up a key in the #GHashTable, returning the original key and the
* associated value and a #gboolean which is %TRUE if the key was found. This