[gimp] gimpintcombobox: Add (array length) annotation



commit e34c051d78e3c214fb6a951a7a88f6f18d74188f
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Dec 25 15:04:21 2020 +0100

    gimpintcombobox: Add (array length) annotation
    
    So that bindings can properly use the array constructor

 libgimpwidgets/gimpintcombobox.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimpwidgets/gimpintcombobox.c b/libgimpwidgets/gimpintcombobox.c
index 694cd812ee..1a818eee3c 100644
--- a/libgimpwidgets/gimpintcombobox.c
+++ b/libgimpwidgets/gimpintcombobox.c
@@ -321,7 +321,7 @@ gimp_int_combo_box_new (const gchar *first_label,
 }
 
 /**
- * gimp_int_combo_box_new_valist:
+ * gimp_int_combo_box_new_valist: (skip)
  * @first_label: the label of the first item
  * @first_value: the value of the first item
  * @values: a va_list with more values
@@ -353,9 +353,9 @@ gimp_int_combo_box_new_valist (const gchar *first_label,
 }
 
 /**
- * gimp_int_combo_box_new_array:
+ * gimp_int_combo_box_new_array: (rename-to gimp_int_combo_box_new)
  * @n_values: the number of values
- * @labels:   an array of labels (array length must be @n_values)
+ * @labels: (array length=n_values): an array of labels
  *
  * A variant of gimp_int_combo_box_new() that takes an array of labels.
  * The array indices are used as values.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]