[gtk/matthiasc/for-master: 56/56] StringList: add missing nullability annotations




commit 475352fbc0c4041f5b7c1e3252882bb111ed2d75
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Tue Nov 24 21:41:18 2020 +0100

    StringList: add missing nullability annotations

 gtk/gtkstringlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkstringlist.c b/gtk/gtkstringlist.c
index 18474b013e..64e2e56155 100644
--- a/gtk/gtkstringlist.c
+++ b/gtk/gtkstringlist.c
@@ -557,7 +557,7 @@ gtk_string_list_remove (GtkStringList *self,
  * This function returns the const char *. To get the
  * object wrapping it, use g_list_model_get_item().
  *
- * Returns: the string at the given position
+ * Returns: (nullable): the string at the given position
  */
 const char *
 gtk_string_list_get_string (GtkStringList *self,


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