From 1387fba7f8321683ebb1f74beff1bf0681488e18 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Sat, 14 Jan 2023 15:30:15 +0100 Subject: [PATCH] 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. --- gtk/gtkwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index a7bade8db0..d02521a4f4 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -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().