summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-09-17 19:49:14 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-09-17 19:49:14 +0100
commit4727dbfa0c393ad39bdb930dcd2729e4327ccdc1 (patch)
tree26ca93776aaa9f906854765b2fce991d7f7deb51
parent7a99bece4d303c717d9329beca5f7596f351482f (diff)
downloadgobject-introspection-4727dbfa0c393ad39bdb930dcd2729e4327ccdc1.tar.gz
Update GLib annotations
GLib commit: 2.74.0
-rw-r--r--gir/gio-2.0.c4
-rw-r--r--gir/glib-2.0.c12
-rw-r--r--gir/gobject-2.0.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 1397c88c..cbef7697 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -11439,8 +11439,8 @@
* @action_group: a #GActionGroup
* @action_name: the name of an action in the group
* @enabled: (out): if the action is presently enabled
- * @parameter_type: (out) (optional): the parameter type, or %NULL if none needed
- * @state_type: (out) (optional): the state type, or %NULL if stateless
+ * @parameter_type: (out) (transfer none) (optional): the parameter type, or %NULL if none needed
+ * @state_type: (out) (transfer none) (optional): the state type, or %NULL if stateless
* @state_hint: (out) (optional): the state hint, or %NULL if none
* @state: (out) (optional): the current state, or %NULL if stateless
*
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 2b5028f6..47583659 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -24098,7 +24098,7 @@
* and must not be freed. Use g_regex_ref() if you need to keep it
* after you free @match_info object.
*
- * Returns: #GRegex object used in @match_info
+ * Returns: (transfer none): #GRegex object used in @match_info
* Since: 2.14
*/
@@ -37448,11 +37448,11 @@
*
* For example, an effective use of this function is to handle `SIGTERM`
* cleanly; flushing any outstanding files, and then calling
- * g_main_loop_quit (). It is not safe to do any of this a regular
- * UNIX signal handler; your handler may be invoked while malloc() or
- * another library function is running, causing reentrancy if you
- * attempt to use it from the handler. None of the GLib/GObject API
- * is safe against this kind of reentrancy.
+ * g_main_loop_quit(). It is not safe to do any of this from a regular
+ * UNIX signal handler; such a handler may be invoked while malloc() or
+ * another library function is running, causing reentrancy issues if the
+ * handler attempts to use those functions. None of the GLib/GObject
+ * API is safe against this kind of reentrancy.
*
* The interaction of this source when combined with native UNIX
* functions like sigprocmask() is not defined.
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c
index 1ab2dbb2..2eed6c7b 100644
--- a/gir/gobject-2.0.c
+++ b/gir/gobject-2.0.c
@@ -5489,7 +5489,7 @@
* an object definition, instead the function pointer is passed
* directly and can be overridden by derived classes with
* g_signal_override_class_closure() or
- * g_signal_override_class_handler()and chained to with
+ * g_signal_override_class_handler() and chained to with
* g_signal_chain_from_overridden() or
* g_signal_chain_from_overridden_handler().
*