[gobject-introspection] Update GLib annotations



commit 4727dbfa0c393ad39bdb930dcd2729e4327ccdc1
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Sep 17 19:49:14 2022 +0100

    Update GLib annotations
    
    GLib commit: 2.74.0

 gir/gio-2.0.c     |  4 ++--
 gir/glib-2.0.c    | 12 ++++++------
 gir/gobject-2.0.c |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 1397c88ca..cbef7697d 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 2b5028f6a..47583659f 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 1ab2dbb2d..2eed6c7b5 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().
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]