summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2021-08-11 14:33:38 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2021-08-11 14:33:38 +0500
commit342f02711b892fe233a9868e58c03a6862ab40b5 (patch)
tree12e098bba163943fb54af5f0456c0ac538a38595
parentd9c48a8d015d2db6dd185032543e5a07fc6b9a21 (diff)
downloadgtk+-342f02711b892fe233a9868e58c03a6862ab40b5.tar.gz
widget: Fix gtk_widget_class_query_action() annotations
Add transfer none on all out values as they aren't being copied.
-rw-r--r--gtk/gtkwidget.c8
1 files 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.