Fix annotations allowing null "constraint" and "data" args, #6526
This commit is contained in:
@ -128,9 +128,9 @@ gimp_image_combo_box_finalize (GObject *object)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* gimp_image_combo_box_new:
|
* gimp_image_combo_box_new:
|
||||||
* @constraint: a #GimpImageConstraintFunc or %NULL
|
* @constraint: (nullable): a #GimpImageConstraintFunc or %NULL
|
||||||
* @data: a pointer that is passed to @constraint
|
* @data: (closure): a pointer that is passed to @constraint
|
||||||
* @data_destroy: Destroy function for @data.
|
* @data_destroy: (destroy): Destroy function for @data.
|
||||||
*
|
*
|
||||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||||
* images. If a @constraint function is specified, it is called for
|
* 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:
|
* gimp_drawable_combo_box_new:
|
||||||
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||||
* @data: (closure): a pointer that is passed to @constraint
|
* @data: (closure): a pointer that is passed to @constraint
|
||||||
* @data_destroy: Destroy function for @data
|
* @data_destroy: (destroy): Destroy function for @data
|
||||||
*
|
*
|
||||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||||
* drawables. If a @constraint function is specified, it is called for
|
* 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:
|
* gimp_channel_combo_box_new:
|
||||||
* @constraint: a #GimpItemConstraintFunc or %NULL
|
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||||
* @data: a pointer that is passed to @constraint
|
* @data: (closure): a pointer that is passed to @constraint
|
||||||
* @data_destroy: Destroy function for @data
|
* @data_destroy: (destroy): Destroy function for @data
|
||||||
*
|
*
|
||||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||||
* channels. See gimp_drawable_combo_box_new() for more information.
|
* 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:
|
* gimp_layer_combo_box_new:
|
||||||
* @constraint: a #GimpItemConstraintFunc or %NULL
|
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||||
* @data: a pointer that is passed to @constraint
|
* @data: (closure): a pointer that is passed to @constraint
|
||||||
* @data_destroy: Destroy function for @data
|
* @data_destroy: (destroy): Destroy function for @data
|
||||||
*
|
*
|
||||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||||
* layers. See gimp_drawable_combo_box_new() for more information.
|
* 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:
|
* gimp_vectors_combo_box_new:
|
||||||
* @constraint: a #GimpItemConstraintFunc or %NULL
|
* @constraint: (nullable): a #GimpItemConstraintFunc or %NULL
|
||||||
* @data: a pointer that is passed to @constraint
|
* @data: (closure): a pointer that is passed to @constraint
|
||||||
* @data_destroy: Destroy function for @data
|
* @data_destroy: (destroy): Destroy function for @data
|
||||||
*
|
*
|
||||||
* Creates a new #GimpIntComboBox filled with all currently opened
|
* Creates a new #GimpIntComboBox filled with all currently opened
|
||||||
* vectors objects. If a @constraint function is specified, it is called for
|
* vectors objects. If a @constraint function is specified, it is called for
|
||||||
|
Reference in New Issue
Block a user