Add missing introspection annotations

https://bugzilla.gnome.org/show_bug.cgi?id=707519
This commit is contained in:
Phil Clayton 2013-09-05 01:08:41 +01:00 committed by Matthias Clasen
parent 90383300d2
commit 59c4fb9d6a
8 changed files with 18 additions and 14 deletions

View File

@ -818,7 +818,7 @@ _gtk_accel_group_get_accelerables (GtkAccelGroup *accel_group)
* @accel_group: the accelerator group to query
* @accel_key: key value of the accelerator
* @accel_mods: modifier combination of the accelerator
* @n_entries: (allow-none): location to return the number
* @n_entries: (out) (allow-none): location to return the number
* of entries found, or %NULL
*
* Queries an accelerator group for all entries matching @accel_key
@ -1173,8 +1173,8 @@ is_keycode (const gchar *string)
* @accelerator: string representing an accelerator
* @accelerator_key: (out) (allow-none): return location for accelerator
* keyval, or %NULL
* @accelerator_codes: (out) (allow-none): return location for accelerator
* keycodes, or %NULL
* @accelerator_codes: (out) (array zero-terminated=1) (transfer full) (allow-none):
* return location for accelerator keycodes, or %NULL
* @accelerator_mods: (out) (allow-none): return location for accelerator
* modifier mask, %NULL
*
@ -1183,6 +1183,9 @@ is_keycode (const gchar *string)
* useful for system-level components, applications should use
* gtk_accelerator_parse() instead.
*
* If @accelerator_codes is given and the result stored in it is non-%NULL,
* the result must be freed with g_free().
*
* If a keycode is present in the accelerator and no @accelerator_codes
* is given, the parse will fail.
*

View File

@ -2457,7 +2457,7 @@ gtk_cell_area_class_find_cell_property (GtkCellAreaClass *aclass,
/**
* gtk_cell_area_class_list_cell_properties:
* @aclass: a #GtkCellAreaClass
* @n_properties: location to return the number of cell properties found
* @n_properties: (out): location to return the number of cell properties found
*
* Returns all cell properties of a cell area class.
*

View File

@ -1490,7 +1490,7 @@ clipboard_rich_text_received_func (GtkClipboard *clipboard,
* @clipboard: a #GtkClipboard
* @buffer: a #GtkTextBuffer
* @format: (out): return location for the format of the returned data
* @length: return location for the length of the returned data
* @length: (out): return location for the length of the returned data
*
* Requests the contents of the clipboard as rich text. This function
* waits for the data to be received using the main loop, so events,
@ -1818,7 +1818,7 @@ gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard)
* @targets: (out) (array length=n_targets) (transfer container): location
* to store an array of targets. The result stored here must
* be freed with g_free().
* @n_targets: location to store number of items in @targets.
* @n_targets: (out): location to store number of items in @targets.
*
* Returns a list of targets that are present on the clipboard, or %NULL
* if there aren't any targets available. The returned list must be

View File

@ -845,7 +845,8 @@ gtk_recent_chooser_get_items (GtkRecentChooser *chooser)
/**
* gtk_recent_chooser_get_uris:
* @chooser: a #GtkRecentChooser
* @length: (allow-none): return location for a the length of the URI list, or %NULL
* @length: (out) (allow-none): return location for a the length of the
* URI list, or %NULL
*
* Gets the URI of the recently used resources.
*

View File

@ -558,8 +558,8 @@ gtk_target_list_remove (GtkTargetList *list,
* gtk_target_list_find:
* @list: a #GtkTargetList
* @target: an interned atom representing the target to search for
* @info: a pointer to the location to store application info for target,
* or %NULL
* @info: (out) (allow-none): a pointer to the location to store
* application info for target, or %NULL
*
* Looks up a given target in a #GtkTargetList.
*

View File

@ -400,7 +400,7 @@ gtk_text_buffer_deserialize_get_can_create_tags (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_serialize_formats:
* @buffer: a #GtkTextBuffer
* @n_formats: return location for the number of formats
* @n_formats: (out): return location for the number of formats
*
* This function returns the rich text serialize formats registered
* with @buffer using gtk_text_buffer_register_serialize_format() or
@ -428,7 +428,7 @@ gtk_text_buffer_get_serialize_formats (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_deserialize_formats:
* @buffer: a #GtkTextBuffer
* @n_formats: return location for the number of formats
* @n_formats: (out): return location for the number of formats
*
* This function returns the rich text deserialize formats registered
* with @buffer using gtk_text_buffer_register_deserialize_format() or
@ -460,7 +460,7 @@ gtk_text_buffer_get_deserialize_formats (GtkTextBuffer *buffer,
* @format: the rich text format to use for serializing
* @start: start of block of text to serialize
* @end: end of block of test to serialize
* @length: return location for the length of the serialized data
* @length: (out): return location for the length of the serialized data
*
* This function serializes the portion of text between @start
* and @end in the rich text format represented by @format.

View File

@ -841,7 +841,7 @@ gtk_tree_path_get_indices (GtkTreePath *path)
/**
* gtk_tree_path_get_indices_with_depth:
* @path: a #GtkTreePath
* @depth: (allow-none): return location for number of elements
* @depth: (out) (allow-none): return location for number of elements
* returned in the integer array, or %NULL
*
* Returns the current indices of @path.

View File

@ -12353,7 +12353,7 @@ gtk_widget_class_find_style_property (GtkWidgetClass *klass,
/**
* gtk_widget_class_list_style_properties:
* @klass: a #GtkWidgetClass
* @n_properties: location to return the number of style properties found
* @n_properties: (out): location to return the number of style properties found
*
* Returns all style properties of a widget class.
*