summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkaccelgroup.c')
-rw-r--r--gtk/gtkaccelgroup.c16
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