g-i: add missing array annotation to AlertDialog.(s|g)et_buttons

This commit is contained in:
Bilal Elmoussaoui 2022-11-19 09:20:41 +00:00 committed by Bilal Elmoussaoui
parent ab530b9e5a
commit 97d76417fa

View 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.
*