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/gtkaccelgroup.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/gtkaccelgroup.c')
-rw-r--r-- | gtk/gtkaccelgroup.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index a4c1aa5021..fed9fe513e 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -228,11 +228,11 @@ is_keycode (const char *string) /** * gtk_accelerator_parse_with_keycode: * @accelerator: string representing an accelerator - * @display: (allow-none): the `GdkDisplay` to look up @accelerator_codes in - * @accelerator_key: (out) (allow-none): return location for accelerator keyval - * @accelerator_codes: (out) (array zero-terminated=1) (transfer full) (allow-none): + * @display: (nullable): the `GdkDisplay` to look up @accelerator_codes in + * @accelerator_key: (out) (optional): return location for accelerator keyval + * @accelerator_codes: (out) (array zero-terminated=1) (transfer full) (optional): * return location for accelerator keycodes - * @accelerator_mods: (out) (allow-none): return location for accelerator + * @accelerator_mods: (out) (optional): return location for accelerator * modifier mask * * Parses a string representing an accelerator. @@ -478,8 +478,8 @@ out: /** * gtk_accelerator_parse: * @accelerator: string representing an accelerator - * @accelerator_key: (out) (allow-none): return location for accelerator keyval - * @accelerator_mods: (out) (allow-none): return location for accelerator + * @accelerator_key: (out) (optional): return location for accelerator keyval + * @accelerator_mods: (out) (optional): return location for accelerator * modifier mask * * Parses a string representing an accelerator. @@ -505,7 +505,7 @@ gtk_accelerator_parse (const char *accelerator, /** * gtk_accelerator_name_with_keycode: - * @display: (allow-none): a `GdkDisplay` or %NULL to use the default display + * @display: (nullable): a `GdkDisplay` or %NULL to use the default display * @accelerator_key: accelerator keyval * @keycode: accelerator keycode * @accelerator_mods: accelerator modifier mask @@ -621,7 +621,7 @@ gtk_accelerator_name (guint accelerator_key, /** * gtk_accelerator_get_label_with_keycode: - * @display: (allow-none): a `GdkDisplay` or %NULL to use the default display + * @display: (nullable): a `GdkDisplay` or %NULL to use the default display * @accelerator_key: accelerator keyval * @keycode: accelerator keycode * @accelerator_mods: accelerator modifier mask |