diff options
author | Phil Clayton <phil.clayton@lineone.net> | 2013-09-05 01:08:41 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-09-10 17:20:15 -0400 |
commit | 59c4fb9d6af4b39b258c1abc0e6ed0d2d2c9780f (patch) | |
tree | 46281a02e0bf0053dcd4d59c092a60e8dab6df30 /gtk/gtkaccelgroup.c | |
parent | 90383300d2a01f7a610b2e2c1f711b6bfc4b61c8 (diff) | |
download | gtk+-59c4fb9d6af4b39b258c1abc0e6ed0d2d2c9780f.tar.gz |
Add missing introspection annotations
https://bugzilla.gnome.org/show_bug.cgi?id=707519
Diffstat (limited to 'gtk/gtkaccelgroup.c')
-rw-r--r-- | gtk/gtkaccelgroup.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index 60bd1ee534..96316b3888 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -818,7 +818,7 @@ _gtk_accel_group_get_accelerables (GtkAccelGroup *accel_group) * @accel_group: the accelerator group to query * @accel_key: key value of the accelerator * @accel_mods: modifier combination of the accelerator - * @n_entries: (allow-none): location to return the number + * @n_entries: (out) (allow-none): location to return the number * of entries found, or %NULL * * Queries an accelerator group for all entries matching @accel_key @@ -1173,8 +1173,8 @@ is_keycode (const gchar *string) * @accelerator: string representing an accelerator * @accelerator_key: (out) (allow-none): return location for accelerator * keyval, or %NULL - * @accelerator_codes: (out) (allow-none): return location for accelerator - * keycodes, or %NULL + * @accelerator_codes: (out) (array zero-terminated=1) (transfer full) (allow-none): + * return location for accelerator keycodes, or %NULL * @accelerator_mods: (out) (allow-none): return location for accelerator * modifier mask, %NULL * @@ -1183,6 +1183,9 @@ is_keycode (const gchar *string) * useful for system-level components, applications should use * gtk_accelerator_parse() instead. * + * If @accelerator_codes is given and the result stored in it is non-%NULL, + * the result must be freed with g_free(). + * * If a keycode is present in the accelerator and no @accelerator_codes * is given, the parse will fail. * |