summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-03-15 13:48:35 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-03-15 13:48:35 +0000
commit0a7af75639f88d51e0a92f08f2191f95fd48d036 (patch)
tree5d6c6747209be212362ad72139e51010963912c9
parent72012113fdab625be2cf13f23473716aa2a64604 (diff)
downloadgtk+-0a7af75639f88d51e0a92f08f2191f95fd48d036.tar.gz
docs: Update annotations for WidgetClass.query_action()issue-3757
The parameter_type and property_name out arguments can be set to NULL. Fixes: #3757
-rw-r--r--gtk/gtkwidget.c8
1 files 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