mirror of https://github.com/GNOME/gimp.git
libgimp: fix (destroy) and (closure) annotations.
This fixes the following warning (and 4 similar others):
> libgimp/gimpimagecombobox.c:133: Warning: GimpUi: "destroy" annotation needs one option, none given
Brought by commit df766d5443
. It's my fault for not properly reviewing
the patch as I failed to notice the new warnings.
This commit is contained in:
parent
a95371c2b0
commit
269343832a
|
@ -128,9 +128,9 @@ gimp_image_combo_box_finalize (GObject *object)
|
|||
|
||||
/**
|
||||
* gimp_image_combo_box_new:
|
||||
* @constraint: (nullable): a #GimpImageConstraintFunc or %NULL
|
||||
* @data: (closure): a pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy): Destroy function for @data.
|
||||
* @constraint: (nullable): A #GimpImageConstraintFunc or %NULL
|
||||
* @data: (closure constraint): A pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy data): Destroy function for @data.
|
||||
*
|
||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||
* images. If a @constraint function is specified, it is called for
|
||||
|
|
|
@ -167,9 +167,9 @@ gimp_drawable_combo_box_init (GimpDrawableComboBox *combo_box)
|
|||
|
||||
/**
|
||||
* gimp_drawable_combo_box_new:
|
||||
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure): a pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy): Destroy function for @data
|
||||
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure constraint): A pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy data): Destroy function for @data
|
||||
*
|
||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||
* drawables. If a @constraint function is specified, it is called for
|
||||
|
@ -223,9 +223,9 @@ gimp_channel_combo_box_init (GimpChannelComboBox *combo_box)
|
|||
|
||||
/**
|
||||
* gimp_channel_combo_box_new:
|
||||
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure): a pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy): Destroy function for @data
|
||||
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure constraint): A pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy data): Destroy function for @data
|
||||
*
|
||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||
* channels. See gimp_drawable_combo_box_new() for more information.
|
||||
|
@ -272,9 +272,9 @@ gimp_layer_combo_box_init (GimpLayerComboBox *combo_box)
|
|||
|
||||
/**
|
||||
* gimp_layer_combo_box_new:
|
||||
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure): a pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy): Destroy function for @data
|
||||
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure constraint): A pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy data): Destroy function for @data
|
||||
*
|
||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||
* layers. See gimp_drawable_combo_box_new() for more information.
|
||||
|
@ -322,9 +322,9 @@ gimp_vectors_combo_box_init (GimpVectorsComboBox *combo_box)
|
|||
|
||||
/**
|
||||
* gimp_vectors_combo_box_new:
|
||||
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure): a pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy): Destroy function for @data
|
||||
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
|
||||
* @data: (closure constraint): A pointer that is passed to @constraint
|
||||
* @data_destroy: (destroy data): Destroy function for @data
|
||||
*
|
||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||
* vectors objects. If a @constraint function is specified, it is called for
|
||||
|
|
Loading…
Reference in New Issue