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/gtkicontheme.c | |
parent | 2f0d40335b83d70d04a205dd17e8a5514b79f2d4 (diff) | |
download | gtk+-2fb1c064020c5db189285b1d5e8b8dcea8e9d09b.tar.gz |
[GI] Add missing (out) and (array) annotations
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 62b842982c..f67762fcc1 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -688,7 +688,8 @@ gtk_icon_theme_finalize (GObject *object) /** * gtk_icon_theme_set_search_path: * @icon_theme: a #GtkIconTheme - * @path: array of directories that are searched for icon themes + * @path: (array length=n_elements) (element-type filename): array of + * directories that are searched for icon themes * @n_elements: number of elements in @path. * * Sets the search path for the icon theme object. When looking @@ -1440,7 +1441,8 @@ gtk_icon_theme_lookup_icon (GtkIconTheme *icon_theme, /** * gtk_icon_theme_choose_icon: * @icon_theme: a #GtkIconTheme - * @icon_names: %NULL-terminated array of icon names to lookup + * @icon_names: (array zero-terminated=1): %NULL-terminated array of + * icon names to lookup * @size: desired icon size * @flags: flags modifying the behavior of the icon lookup * @@ -1616,9 +1618,9 @@ add_size (gpointer key, * that the icon is available in a scalable format. The array * is zero-terminated. * - * Return value: An newly allocated array describing the sizes at - * which the icon is available. The array should be freed with g_free() - * when it is no longer needed. + * Return value: (array zero-terminated=1): An newly allocated array + * describing the sizes at which the icon is available. The array + * should be freed with g_free() when it is no longer needed. * * Since: 2.6 **/ @@ -3164,8 +3166,9 @@ _gtk_icon_info_load_symbolic_internal (GtkIconInfo *icon_info, * of the icon or %NULL to use the default color * @error_color: (allow-none): a #GdkRGBA representing the error color * of the icon or %NULL to use the default color (allow-none) - * @was_symbolic: (allow-none): a #gboolean, returns whether the loaded icon - * was a symbolic one and whether the @fg color was applied to it. + * @was_symbolic: (out) (allow-none): a #gboolean, returns whether the + * loaded icon was a symbolic one and whether the @fg color was + * applied to it. * @error: (allow-none): location to store error information on failure, * or %NULL. * @@ -3247,8 +3250,9 @@ gtk_icon_info_load_symbolic (GtkIconInfo *icon_info, * gtk_icon_info_load_symbolic_for_context: * @icon_info: a #GtkIconInfo * @context: a #GtkStyleContext - * @was_symbolic: (allow-none): a #gboolean, returns whether the loaded icon - * was a symbolic one and whether the @fg color was applied to it. + * @was_symbolic: (out) (allow-none): a #gboolean, returns whether the + * loaded icon was a symbolic one and whether the @fg color was + * applied to it. * @error: (allow-none): location to store error information on failure, * or %NULL. * @@ -3328,8 +3332,9 @@ gtk_icon_info_load_symbolic_for_context (GtkIconInfo *icon_info, * @icon_info: a #GtkIconInfo * @style: a #GtkStyle to take the colors from * @state: the widget state to use for colors - * @was_symbolic: (allow-none): a #gboolean, returns whether the loaded icon - * was a symbolic one and whether the @fg color was applied to it. + * @was_symbolic: (out) (allow-none): a #gboolean, returns whether the + * loaded icon was a symbolic one and whether the @fg color was + * applied to it. * @error: (allow-none): location to store error information on failure, * or %NULL. * @@ -3463,7 +3468,7 @@ icon_info_scale_point (GtkIconInfo *icon_info, /** * gtk_icon_info_get_embedded_rect: * @icon_info: a #GtkIconInfo - * @rectangle: #GdkRectangle in which to store embedded + * @rectangle: (out): #GdkRectangle in which to store embedded * rectangle coordinates; coordinates are only stored * when this function returns %TRUE. * |