diff options
author | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-01-18 10:10:30 +0100 |
---|---|---|
committer | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-01-20 13:57:20 +0100 |
commit | 2fb1c064020c5db189285b1d5e8b8dcea8e9d09b (patch) | |
tree | c7d26238efe9c5cad53cd7431d2f2eac5dfed7ea /gtk/gtkmain.c | |
parent | 2f0d40335b83d70d04a205dd17e8a5514b79f2d4 (diff) | |
download | gtk+-2fb1c064020c5db189285b1d5e8b8dcea8e9d09b.tar.gz |
[GI] Add missing (out) and (array) annotations
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 79077b8d91..7004e15759 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -975,12 +975,13 @@ gtk_get_option_group (gboolean open_default_display) /** * gtk_init_with_args: * @argc: a pointer to the number of command line arguments - * @argv: a pointer to the array of command line arguments + * @argv: (inout) (array length=argc): a pointer to the array of + * command line arguments * @parameter_string: a string which is displayed in * the first line of <option>--help</option> output, after * <literal><replaceable>programname</replaceable> [OPTION...]</literal> - * @entries: a %NULL-terminated array of #GOptionEntrys - * describing the options of your program + * @entries: (array zero-terminated=1): a %NULL-terminated array + * of #GOptionEntrys describing the options of your program * @translation_domain: a translation domain to use for translating * the <option>--help</option> output for the options in @entries * and the @parameter_string with gettext(), or %NULL @@ -2417,7 +2418,7 @@ gtk_get_current_event_time (void) /** * gtk_get_current_event_state: - * @state: a location to store the state of the current event + * @state: (out): a location to store the state of the current event * * If there is a current event and it has a state field, place * that state field in @state and return %TRUE, otherwise return |