From: Niels De Graef Date: Sat, 14 Jan 2023 14:30:15 +0000 (+0100) Subject: Add missing nullable to GtkWidgetActionActivateFunc X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~8^2~61^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1387fba7f8321683ebb1f74beff1bf0681488e18;p=gtk4.git 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. --- 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().