[gtk/issue-3757] docs: Update annotations for WidgetClass.query_action()



commit 0a7af75639f88d51e0a92f08f2191f95fd48d036
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Mar 15 13:48:35 2021 +0000

    docs: Update annotations for WidgetClass.query_action()
    
    The parameter_type and property_name out arguments can be set to NULL.
    
    Fixes: #3757

 gtk/gtkwidget.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 520e15edd9..3f641a6d08 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12632,15 +12632,15 @@ gtk_widget_action_set_enabled (GtkWidget  *widget,
 
 /**
  * gtk_widget_class_query_action:
- * @widget_class: a `GtkWidget`Class
+ * @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): return location for the parameter type
- * @property_name: (out): return location for the property name
+ * @parameter_type: (out) (nullable): return location for the parameter type
+ * @property_name: (out) (nullable): return location for the property name
  *
  * Queries the actions that have been installed for
- * a widget class using gtk_widget_class_install_action()
+ * a widget class using [method@Gtk.WidgetClass.install_action]
  * during class initialization.
  *
  * Note that this function will also return actions defined


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