g-i: add missing array annotation to AlertDialog.(s|g)et_buttons
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 19 Nov 2022 09:20:41 +0000 (09:20 +0000)
committerBilal Elmoussaoui <belmouss@redhat.com>
Sat, 19 Nov 2022 13:33:19 +0000 (14:33 +0100)
gtk/gtkalertdialog.c

index 74b7bbd997868f6e4eedde00214701c9c97734f0..ee40bcf1ee165d1e8888b9155ee1136318251f78 100644 (file)
@@ -462,7 +462,7 @@ gtk_alert_dialog_set_detail (GtkAlertDialog *self,
  *
  * Returns the button labels for the alert.
  *
- * Returns: (nullable) (transfer none): the button labels
+ * Returns: (nullable) (transfer none) (array zero-terminated=1): the button labels
  *
  * Since: 4.10
  */
@@ -477,7 +477,7 @@ gtk_alert_dialog_get_buttons (GtkAlertDialog *self)
 /**
  * gtk_alert_dialog_set_buttons:
  * @self: a `GtkAlertDialog`
- * @labels: the new button labels
+ * @labels: (array zero-terminated=1): the new button labels
  *
  * Sets the button labels for the alert.
  *