projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e28b07
)
widget: Mark format as nullable in activate_action
author
Jens Georg
<mail@jensge.org>
Tue, 19 Apr 2022 08:17:39 +0000
(10:17 +0200)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index afe7e9224e8b6d8e20e2b94df9ff93280b3df572..56e3fa25bff5e94af61d449a42920480091738aa 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-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
*