[GI] Add missing (out) and (array) annotations
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user