libgimp, libgimpwidgets: fix (closure) annotations.

This commit is contained in:
Michael Natterer 2025-07-07 17:59:32 +02:00
parent 1e502371d8
commit 76caac9481
3 changed files with 18 additions and 15 deletions

View file

@ -120,8 +120,9 @@ gimp_image_combo_box_finalize (GObject *object)
/**
* gimp_image_combo_box_new:
* @constraint: (nullable): A #GimpImageConstraintFunc or %NULL
* @data: (closure constraint): A pointer that is passed to @constraint
* @constraint: (nullable) (closure data):
* A #GimpImageConstraintFunc or %NULL
* @data: A pointer that is passed to @constraint
* @data_destroy: (destroy data): Destroy function for @data.
*
* Creates a new #GimpIntComboBox filled with all currently opened

View file

@ -167,8 +167,9 @@ gimp_drawable_combo_box_init (GimpDrawableComboBox *combo_box)
/**
* gimp_drawable_combo_box_new:
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
* @data: (closure constraint): A pointer that is passed to @constraint
* @constraint: (nullable) (closure data):
* A #GimpItemConstraintFunc or %NULL
* @data: A pointer that is passed to @constraint
* @data_destroy: (destroy data): Destroy function for @data
*
* Creates a new #GimpIntComboBox filled with all currently opened
@ -223,8 +224,8 @@ gimp_channel_combo_box_init (GimpChannelComboBox *combo_box)
/**
* gimp_channel_combo_box_new:
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
* @data: (closure constraint): A pointer that is passed to @constraint
* @constraint: (nullable) (closure data): A #GimpItemConstraintFunc or %NULL
* @data: A pointer that is passed to @constraint
* @data_destroy: (destroy data): Destroy function for @data
*
* Creates a new #GimpIntComboBox filled with all currently opened
@ -272,8 +273,8 @@ gimp_layer_combo_box_init (GimpLayerComboBox *combo_box)
/**
* gimp_layer_combo_box_new:
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
* @data: (closure constraint): A pointer that is passed to @constraint
* @constraint: (nullable) (closure data): A #GimpItemConstraintFunc or %NULL
* @data: A pointer that is passed to @constraint
* @data_destroy: (destroy data): Destroy function for @data
*
* Creates a new #GimpIntComboBox filled with all currently opened
@ -322,8 +323,8 @@ gimp_path_combo_box_init (GimpPathComboBox *combo_box)
/**
* gimp_path_combo_box_new:
* @constraint: (nullable): A #GimpItemConstraintFunc or %NULL
* @data: (closure constraint): A pointer that is passed to @constraint
* @constraint: (nullable) (closure data): A #GimpItemConstraintFunc or %NULL
* @data: A pointer that is passed to @constraint
* @data_destroy: (destroy data): Destroy function for @data
*
* Creates a new #GimpIntComboBox filled with all currently opened

View file

@ -51,9 +51,10 @@
* @frame_title: (nullable):
* The title of the Frame or %NULL if you don't want a
* title.
* @radio_button_callback: (scope notified): The callback each button's
* @radio_button_callback: (scope notified) (closure radio_button_callback_data):
* The callback each button's
* "toggled" signal will be connected with.
* @radio_button_callback_data: (closure radio_button_callback):
* @radio_button_callback_data:
* The data which will be passed to g_signal_connect().
* @radio_button_callback_destroy: (destroy radio_button_callback_data):
* @initial: The @item_data of the initially pressed radio button.