Commit bdac38a8 authored by Michael Natterer's avatar Michael Natterer 😴

libgimpwidgets: add and fix some annotations

parent ea530895
Pipeline #100529 passed with stages
in 21 minutes and 46 seconds
......@@ -414,7 +414,8 @@ gimp_color_display_get_enabled (GimpColorDisplay *display)
* gimp_color_display_get_config:
* @display:
*
* Return value: (transfer none): a pointer to the #GimpColorConfig object or %NULL.
* Return value: (transfer none): a pointer to the #GimpColorConfig
* object or %NULL.
*
* Since: 2.4
**/
......@@ -430,7 +431,8 @@ gimp_color_display_get_config (GimpColorDisplay *display)
* gimp_color_display_get_managed:
* @display:
*
* Return value: (transfer none): a pointer to the #GimpColorManaged object or %NULL.
* Return value: (transfer none): a pointer to the #GimpColorManaged
* object or %NULL.
*
* Since: 2.4
**/
......
......@@ -568,7 +568,8 @@ gimp_color_notebook_get_notebook (GimpColorNotebook *notebook)
* gimp_color_notebook_get_selectors:
* @notebook: A #GimpColorNotebook widget.
*
* Return value: (transfer none): The notebook's list of #GimpColorSelector's.
* Return value: (element-type GimpColorSelector) (transfer-none): The
* notebook's list of #GimpColorSelector's.
*
* Since: 3.0
**/
......
......@@ -446,7 +446,7 @@ gimp_color_profile_combo_box_set_active_file (GimpColorProfileComboBox *combo,
* gimp_color_profile_combo_box_get_active_file:
* @combo: a #GimpColorProfileComboBox
*
* Return value: (transfer full): The file of the currently selected
* Return value: (transfer none): The file of the currently selected
* color profile, release using g_object_unref() when it
* is not any longer needed.
*
......
......@@ -471,7 +471,7 @@ gimp_color_selection_set_color (GimpColorSelection *selection,
/**
* gimp_color_selection_get_color:
* @selection: A #GimpColorSelection widget.
* @color: Return location for the @selection's current @color.
* @color: (out): Return location for the @selection's current @color.
*
* This function returns the #GimpColorSelection's current color.
**/
......@@ -509,7 +509,7 @@ gimp_color_selection_set_old_color (GimpColorSelection *selection,
/**
* gimp_color_selection_get_old_color:
* @selection: A #GimpColorSelection widget.
* @color: Return location for the @selection's old @color.
* @color: (out): Return location for the @selection's old @color.
*
* This function returns the #GimpColorSelection's old color.
**/
......@@ -611,7 +611,8 @@ gimp_color_selection_get_notebook (GimpColorSelection *selection)
* gimp_color_selection_get_right_vbox:
* @selection: A #GimpColorSelection widget.
*
* Returns: (transfer none): The selection's right #GtkBox which contains the color scales.
* Returns: (transfer none): The selection's right #GtkBox which
* contains the color scales.
*
* Since: 3.0
*/
......
......@@ -559,7 +559,7 @@ gimp_size_entry_get_unit_combo (GimpSizeEntry *gse)
*
* Attaches a #GtkLabel to the #GimpSizeEntry (which is a #GtkGrid).
*
* Returns: (transfer full): A pointer to the new #GtkLabel widget.
* Returns: (transfer none): A pointer to the new #GtkLabel widget.
**/
GtkWidget *
gimp_size_entry_attach_label (GimpSizeEntry *gse,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment