Add missing nullable to GtkWidgetActionActivateFunc

The `GVariant` that is passed on to the `GtkWidgetActionActivateFunc`
can be `NULL` in case the parameter type is also `NULL`, so mark it
nullable.
This commit is contained in:
Niels De Graef 2023-01-14 15:30:15 +01:00
parent 34b9ec5be2
commit 1387fba7f8

View File

@ -937,7 +937,7 @@ void gtk_widget_get_color (GtkWidget *widget,
* GtkWidgetActionActivateFunc:
* @widget: the widget to which the action belongs
* @action_name: the action name
* @parameter: parameter for activation
* @parameter: (nullable): parameter for activation
*
* The type of the callback functions used for activating
* actions installed with gtk_widget_class_install_action().