Fix annotations for gtk_accelerator_parse

Part of bug 644353, patch by Ulrik Sverdrup.
This commit is contained in:
Matthias Clasen 2011-03-12 21:23:25 -05:00
parent 4a44f3f6e1
commit 02ac322c9a

View File

@ -1147,8 +1147,10 @@ is_hyper (const gchar *string)
/**
* gtk_accelerator_parse:
* @accelerator: string representing an accelerator
* @accelerator_key: (out): return location for accelerator keyval
* @accelerator_mods: (out): return location for accelerator modifier mask
* @accelerator_key: (out) (allow-none): return location for accelerator
* keyval, or %NULL
* @accelerator_mods: (out) (allow-none): return location for accelerator
* modifier mask, %NULL
*
* Parses a string representing an accelerator. The
* format looks like "<Control>a" or "<Shift><Alt>F1"