[gtk/wip/ricotz/annotations: 8/8] gtk: Add some g-i annotations to GtkStringList
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ricotz/annotations: 8/8] gtk: Add some g-i annotations to GtkStringList
- Date: Fri, 26 Jun 2020 04:37:23 +0000 (UTC)
commit 5b1195f874677bfdcde92836cffcfb4031df1e5c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Jun 25 23:10:37 2020 +0200
gtk: Add some g-i annotations to GtkStringList
gtk/gtkstringlist.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkstringlist.c b/gtk/gtkstringlist.c
index d4cad21ad3..753f11bdf8 100644
--- a/gtk/gtkstringlist.c
+++ b/gtk/gtkstringlist.c
@@ -425,12 +425,12 @@ gtk_string_list_init (GtkStringList *self)
/**
* gtk_string_list_new:
- * @strings: (allow-none): The strings to put in the model
+ * @strings: (array zero-terminated=1) (nullable): The strings to put in the model
*
* Creates a new #GtkStringList with the given @strings.
*
* Returns: a new #GtkStringList
- **/
+ */
GtkStringList *
gtk_string_list_new (const char **strings)
{
@@ -534,7 +534,7 @@ gtk_string_list_append (GtkStringList *self,
/**
* gtk_string_list_take:
* @self: a #GtkStringList
- * @string: the string to insert
+ * @string: (transfer full): the string to insert
*
* Adds @string to self at the end, and takes
* ownership of it.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]