gtk: port missing array annotations from Vala bindings
https://bugzilla.gnome.org/show_bug.cgi?id=730745
This commit is contained in:
		| @ -47,16 +47,24 @@ typedef struct _GtkColorSelection       GtkColorSelection; | |||||||
| typedef struct _GtkColorSelectionPrivate  GtkColorSelectionPrivate; | typedef struct _GtkColorSelectionPrivate  GtkColorSelectionPrivate; | ||||||
| typedef struct _GtkColorSelectionClass  GtkColorSelectionClass; | typedef struct _GtkColorSelectionClass  GtkColorSelectionClass; | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * GtkColorSelectionChangePaletteFunc: | ||||||
|  |  * @colors: (array length=n_colors): Array of colors | ||||||
|  |  * @n_colors: Number of colors in the array | ||||||
|  |  * | ||||||
|  |  * Deprecated: 3.4 | ||||||
|  |  */ | ||||||
| typedef void (* GtkColorSelectionChangePaletteFunc) (const GdkColor    *colors, | typedef void (* GtkColorSelectionChangePaletteFunc) (const GdkColor    *colors, | ||||||
|                                                      gint               n_colors); |                                                      gint               n_colors); | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * GtkColorSelectionChangePaletteWithScreenFunc: |  * GtkColorSelectionChangePaletteWithScreenFunc: | ||||||
|  * @screen: |  * @screen: | ||||||
|  * @colors: |  * @colors: (array length=n_colors): Array of colors | ||||||
|  * @n_colors: |  * @n_colors: Number of colors in the array | ||||||
|  * |  * | ||||||
|  * Since: 2.2 |  * Since: 2.2 | ||||||
|  |  * Deprecated: 3.4 | ||||||
|  */ |  */ | ||||||
| typedef void (* GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen         *screen, | typedef void (* GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen         *screen, | ||||||
| 							       const GdkColor    *colors, | 							       const GdkColor    *colors, | ||||||
|  | |||||||
| @ -126,7 +126,7 @@ struct _GtkBindingArg | |||||||
|  * @next: implementation detail |  * @next: implementation detail | ||||||
|  * @signal_name: the action signal to be emitted |  * @signal_name: the action signal to be emitted | ||||||
|  * @n_args: number of arguments specified for the signal |  * @n_args: number of arguments specified for the signal | ||||||
|  * @args: the arguments specified for the signal |  * @args: (array length=n_args): the arguments specified for the signal | ||||||
|  * |  * | ||||||
|  * A GtkBindingSignal stores the necessary information to |  * A GtkBindingSignal stores the necessary information to | ||||||
|  * activate a widget in response to a key press via a signal |  * activate a widget in response to a key press via a signal | ||||||
|  | |||||||
| @ -1213,7 +1213,7 @@ gtk_im_context_simple_get_preedit_string (GtkIMContext   *context, | |||||||
| /** | /** | ||||||
|  * gtk_im_context_simple_add_table: (skip) |  * gtk_im_context_simple_add_table: (skip) | ||||||
|  * @context_simple: A #GtkIMContextSimple |  * @context_simple: A #GtkIMContextSimple | ||||||
|  * @data: the table  |  * @data: (array): the table | ||||||
|  * @max_seq_len: Maximum length of a sequence in the table |  * @max_seq_len: Maximum length of a sequence in the table | ||||||
|  *               (cannot be greater than #GTK_MAX_COMPOSE_LEN) |  *               (cannot be greater than #GTK_MAX_COMPOSE_LEN) | ||||||
|  * @n_seqs: number of sequences in the table |  * @n_seqs: number of sequences in the table | ||||||
|  | |||||||
| @ -58,7 +58,8 @@ typedef struct _GtkRecentManagerPrivate GtkRecentManagerPrivate; | |||||||
|  *   “%f” and “%u” escape characters which will be expanded |  *   “%f” and “%u” escape characters which will be expanded | ||||||
|  *   to the resource file path and URI respectively when the command line |  *   to the resource file path and URI respectively when the command line | ||||||
|  *   is retrieved; |  *   is retrieved; | ||||||
|  * @groups: a vector of strings containing groups names; |  * @groups: (array zero-terminated=1): a vector of strings containing | ||||||
|  |  *   groups names; | ||||||
|  * @is_private: whether this resource should be displayed only by the |  * @is_private: whether this resource should be displayed only by the | ||||||
|  *   applications that have registered it or not. |  *   applications that have registered it or not. | ||||||
|  * |  * | ||||||
|  | |||||||
| @ -1214,7 +1214,8 @@ gtk_selection_data_get_format (const GtkSelectionData *selection_data) | |||||||
|  |  | ||||||
| /** | /** | ||||||
|  * gtk_selection_data_get_data: (skip) |  * gtk_selection_data_get_data: (skip) | ||||||
|  * @selection_data: a pointer to a #GtkSelectionData-struct. |  * @selection_data: (array) (element-type guint8): a pointer to a | ||||||
|  |  *   #GtkSelectionData-struct. | ||||||
|  * |  * | ||||||
|  * Retrieves the raw data of the selection. |  * Retrieves the raw data of the selection. | ||||||
|  * |  * | ||||||
|  | |||||||
| @ -55,7 +55,7 @@ typedef guint8 * (* GtkTextBufferSerializeFunc)   (GtkTextBuffer     *register_b | |||||||
|  * @register_buffer: the #GtkTextBuffer the format is registered with |  * @register_buffer: the #GtkTextBuffer the format is registered with | ||||||
|  * @content_buffer: the #GtkTextBuffer to deserialize into |  * @content_buffer: the #GtkTextBuffer to deserialize into | ||||||
|  * @iter: insertion point for the deserialized text |  * @iter: insertion point for the deserialized text | ||||||
|  * @data: data to deserialize |  * @data: (array length=length): data to deserialize | ||||||
|  * @length: length of @data |  * @length: length of @data | ||||||
|  * @create_tags: %TRUE if deserializing may create tags |  * @create_tags: %TRUE if deserializing may create tags | ||||||
|  * @user_data: user data that was specified when registering the format |  * @user_data: user data that was specified when registering the format | ||||||
|  | |||||||
| @ -2544,7 +2544,7 @@ gtk_tree_row_reference_deleted (GObject     *proxy, | |||||||
|  * @proxy: a #GObject |  * @proxy: a #GObject | ||||||
|  * @path: the parent path of the reordered signal |  * @path: the parent path of the reordered signal | ||||||
|  * @iter: the iter pointing to the parent of the reordered |  * @iter: the iter pointing to the parent of the reordered | ||||||
|  * @new_order: the new order of rows |  * @new_order: (array): the new order of rows | ||||||
|  * |  * | ||||||
|  * Lets a set of row reference created by |  * Lets a set of row reference created by | ||||||
|  * gtk_tree_row_reference_new_proxy() know that the |  * gtk_tree_row_reference_new_proxy() know that the | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Evan Nemerson
					Evan Nemerson