From: Bilal Elmoussaoui Date: Sat, 19 Nov 2022 09:20:41 +0000 (+0000) Subject: g-i: add missing array annotation to AlertDialog.(s|g)et_buttons X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~81^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=97d76417fada35c992d8e69db40c6328395e845a;p=gtk4.git g-i: add missing array annotation to AlertDialog.(s|g)et_buttons --- diff --git a/gtk/gtkalertdialog.c b/gtk/gtkalertdialog.c index 74b7bbd997..ee40bcf1ee 100644 --- a/gtk/gtkalertdialog.c +++ b/gtk/gtkalertdialog.c @@ -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. *