widget: Fix gtk_widget_class_query_action() annotations
authorAlexander Mikhaylenko <alexm@gnome.org>
Wed, 11 Aug 2021 09:33:38 +0000 (14:33 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Wed, 11 Aug 2021 09:33:38 +0000 (14:33 +0500)
Add transfer none on all out values as they aren't being copied.

gtk/gtkwidget.c

index 825276b8f1e45e8835789dbf32025f6dc68e01ab..2a8e288232c5440aa54c4aa89408fe237b920d98 100644 (file)
@@ -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.