[gtk/wip/exalm/query-action-transfer] widget: Fix gtk_widget_class_query_action() annotations




commit 342f02711b892fe233a9868e58c03a6862ab40b5
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Aug 11 14:33:38 2021 +0500

    widget: Fix gtk_widget_class_query_action() annotations
    
    Add transfer none on all out values as they aren't being copied.

 gtk/gtkwidget.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 825276b8f1..2a8e288232 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12603,10 +12603,10 @@ gtk_widget_action_set_enabled (GtkWidget  *widget,
  * gtk_widget_class_query_action:
  * @widget_class: a `GtkWidget` class
  * @index_: position of the action to query
- * @owner: (out): return location for the type where the action was defined
- * @action_name: (out): return location for the action name
- * @parameter_type: (out) (nullable): return location for the parameter type
- * @property_name: (out) (nullable): return location for the property name
+ * @owner: (out) (transfer none): return location for the type where the action was defined
+ * @action_name: (out) (transfer none): return location for the action name
+ * @parameter_type: (out) (transfer none) (nullable): return location for the parameter type
+ * @property_name: (out) (transfer none) (nullable): return location for the property name
  *
  * Returns details about the @index_-th action that has been
  * installed for @widget_class during class initialization.


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