[gtk/issue-2915: 2/2] Annotate string array



commit 18c87faaa5b7e9fe8002365063c3e0fd2cc232e4
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jul 7 12:04:13 2020 +0100

    Annotate string array
    
    Fixes: #2915

 gtk/gtkdropdown.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkdropdown.c b/gtk/gtkdropdown.c
index 70e45c2712..f89fb11391 100644
--- a/gtk/gtkdropdown.c
+++ b/gtk/gtkdropdown.c
@@ -927,7 +927,7 @@ gtk_drop_down_get_expression (GtkDropDown *self)
 /**
  * gtk_drop_down_set_from_strings:
  * @self: a #GtkDropDown
- * @texts: a %NULL-terminated string array
+ * @texts: (array zero-terminated=1) (element-type utf8): a %NULL-terminated string array
  *
  * Populates @self with the strings in @text,
  * by creating a suitable model and factory.


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