summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2015-09-14 13:17:08 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2015-09-14 13:17:08 +0200
commitca5bcd6132368e2067e8d8c32b3942d9704cacf7 (patch)
tree311c372efe2d3ad5791b3693356693091812a70f
parent3c42163880bf74d318453b47e6ac56bf3b89a86f (diff)
downloadgobject-introspection-ca5bcd6132368e2067e8d8c32b3942d9704cacf7.tar.gz
Update glib annotations from git master
-rw-r--r--gir/glib-2.0.c10
-rw-r--r--gir/gobject-2.0.c17
2 files changed, 20 insertions, 7 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 420ef239..09548157 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -27753,13 +27753,15 @@
* @errnum: the system error number. See the standard C %errno
* documentation
*
- * Returns a string corresponding to the given error code, e.g.
- * "no such process". You should use this function in preference to
- * strerror(), because it returns a string in UTF-8 encoding, and since
- * not all platforms support the strerror() function.
+ * Returns a string corresponding to the given error code, e.g. "no
+ * such process". Unlike strerror(), this always returns a string in
+ * UTF-8 encoding, and the pointer is guaranteed to remain valid for
+ * the lifetime of the process.
*
* Note that the string may be translated according to the current locale.
*
+ * The value of %errno will not be changed by this function.
+ *
* Returns: a UTF-8 string describing the error code. If the error code
* is unknown, it returns a string like "unknown error (<code>)".
*/
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c
index 217b81d6..9302fa67 100644
--- a/gir/gobject-2.0.c
+++ b/gir/gobject-2.0.c
@@ -3534,11 +3534,11 @@
/**
* g_param_spec_get_default_value:
- * @param: a #GParamSpec
+ * @pspec: a #GParamSpec
*
- * Gets the default value of @param as a pointer to a #GValue.
+ * Gets the default value of @pspec as a pointer to a #GValue.
*
- * The #GValue will remain value for the life of @param.
+ * The #GValue will remain value for the life of @pspec.
*
* Returns: a pointer to a #GValue which must not be modified
* Since: 2.38
@@ -3559,6 +3559,17 @@
/**
+ * g_param_spec_get_name_quark:
+ * @param: a #GParamSpec
+ *
+ * Gets the GQuark for the name.
+ *
+ * Returns: the GQuark for @pspec->name.
+ * Since: 2.46
+ */
+
+
+/**
* g_param_spec_get_nick:
* @pspec: a valid #GParamSpec
*