diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 20:45:06 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 20:45:06 -0400 |
commit | 4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5 (patch) | |
tree | e4157e70d282f7e8edac07406c67bb051334d7c7 /gtk/gtkfilechooserdialog.c | |
parent | 7fe0610b681c96823c45b88ca2c9657f1320bef8 (diff) | |
download | gtk+-4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5.tar.gz |
docs: Reduce redundancy
Remove a boatload of "or %NULL" from nullable parameters
and return values. gi-docgen generates suitable text from
the annotation that we don't need to duplicate.
This adds a few missing nullable annotations too.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index ab5b260bcf..76f2d3e901 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -707,10 +707,10 @@ gtk_file_chooser_dialog_new_valist (const char *title, /** * gtk_file_chooser_dialog_new: - * @title: (nullable): Title of the dialog, or %NULL - * @parent: (nullable): Transient parent of the dialog, or %NULL + * @title: (nullable): Title of the dialog + * @parent: (nullable): Transient parent of the dialog * @action: Open or save mode for the dialog - * @first_button_text: (nullable): text to go in the first button, or %NULL + * @first_button_text: (nullable): text to go in the first button * @...: response ID for the first button, then additional (button, id) pairs, ending with %NULL * * Creates a new `GtkFileChooserDialog`. |