diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 07:24:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 19:17:49 -0400 |
commit | 7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch) | |
tree | 41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gtk/gtkfilechoosernative.c | |
parent | 8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff) | |
download | gtk+-7fe0610b681c96823c45b88ca2c9657f1320bef8.tar.gz |
introspection: Stop using allow-none
allow-none has been deprecated for a long time
already. Instead use optional and nullable everywhere.
Diffstat (limited to 'gtk/gtkfilechoosernative.c')
-rw-r--r-- | gtk/gtkfilechoosernative.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkfilechoosernative.c b/gtk/gtkfilechoosernative.c index 7fa23b6929..f0c12265e6 100644 --- a/gtk/gtkfilechoosernative.c +++ b/gtk/gtkfilechoosernative.c @@ -231,7 +231,7 @@ gtk_file_chooser_native_get_accept_label (GtkFileChooserNative *self) /** * gtk_file_chooser_native_set_accept_label: (attributes org.gtk.Method.set_property=accept-label) * @self: a `GtkFileChooserNative` - * @accept_label: (allow-none): custom label or %NULL for the default + * @accept_label: (nullable): custom label or %NULL for the default * * Sets the custom label text for the accept button. * @@ -274,7 +274,7 @@ gtk_file_chooser_native_get_cancel_label (GtkFileChooserNative *self) /** * gtk_file_chooser_native_set_cancel_label: (attributes org.gtk.Method.set_property=cancel-label) * @self: a `GtkFileChooserNative` - * @cancel_label: (allow-none): custom label or %NULL for the default + * @cancel_label: (nullable): custom label or %NULL for the default * * Sets the custom label text for the cancel button. * @@ -520,11 +520,11 @@ gtk_file_chooser_native_init (GtkFileChooserNative *self) /** * gtk_file_chooser_native_new: - * @title: (allow-none): Title of the native, or %NULL - * @parent: (allow-none): Transient parent of the native, or %NULL + * @title: (nullable): Title of the native, or %NULL + * @parent: (nullable): Transient parent of the native, or %NULL * @action: Open or save mode for the dialog - * @accept_label: (allow-none): text to go in the accept button, or %NULL for the default - * @cancel_label: (allow-none): text to go in the cancel button, or %NULL for the default + * @accept_label: (nullable): text to go in the accept button, or %NULL for the default + * @cancel_label: (nullable): text to go in the cancel button, or %NULL for the default * * Creates a new `GtkFileChooserNative`. * |