forked from AuroraMiddleware/gtk
gtk: Add some g-i annotations to GtkStringList
This commit is contained in:
parent
0ef0edfa9a
commit
5b1195f874
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user