widget: Mark format as nullable in activate_action
authorJens Georg <mail@jensge.org>
Tue, 19 Apr 2022 08:17:39 +0000 (10:17 +0200)
committerJens Georg <mail@jensge.org>
Tue, 19 Apr 2022 08:17:39 +0000 (10:17 +0200)
The doc and the code allow it to be NULL

gtk/gtkwidget.c

index afe7e9224e8b6d8e20e2b94df9ff93280b3df572..56e3fa25bff5e94af61d449a42920480091738aa 100644 (file)
@@ -11345,7 +11345,7 @@ gtk_widget_activate_action_variant (GtkWidget  *widget,
  * gtk_widget_activate_action:
  * @widget: a `GtkWidget`
  * @name: the name of the action to activate
- * @format_string: GVariant format string for arguments or %NULL
+ * @format_string: (nullable): GVariant format string for arguments or %NULL
  *   for no arguments
  * @...: arguments, as given by format string
  *