]> Pileus Git - ~andy/gtk/commitdiff
[gi] add "array" annotations to GtkAboutDialog methods
authorJohn (J5) Palmieri <johnp@redhat.com>
Mon, 15 Nov 2010 17:34:16 +0000 (12:34 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 16 Nov 2010 16:07:20 +0000 (11:07 -0500)
* set_authors, set_documenters and  set_artists required the array annotation
  to work properly

gtk/gtkaboutdialog.c

index 633a3c7dc806564925842b3e36c945fe8cc9ff71..677f16acb9e35ca4f52d61fdb5a9688048ccca13 100644 (file)
@@ -1401,7 +1401,7 @@ update_credits_button_visibility (GtkAboutDialog *about)
 /**
  * gtk_about_dialog_set_authors:
  * @about: a #GtkAboutDialog
- * @authors: a %NULL-terminated array of strings
+ * @authors: (array zero-terminated=1): a %NULL-terminated array of strings
  *
  * Sets the strings which are displayed in the authors tab
  * of the secondary credits dialog.
@@ -1456,7 +1456,7 @@ gtk_about_dialog_get_documenters (GtkAboutDialog *about)
 /**
  * gtk_about_dialog_set_documenters:
  * @about: a #GtkAboutDialog
- * @documenters: a %NULL-terminated array of strings
+ * @documenters: (array zero-terminated=1): a %NULL-terminated array of strings
  *
  * Sets the strings which are displayed in the documenters tab
  * of the secondary credits dialog.
@@ -1511,7 +1511,7 @@ gtk_about_dialog_get_artists (GtkAboutDialog *about)
 /**
  * gtk_about_dialog_set_artists:
  * @about: a #GtkAboutDialog
- * @artists: a %NULL-terminated array of strings
+ * @artists: (array zero-terminated=1): a %NULL-terminated array of strings
  *
  * Sets the strings which are displayed in the artists tab
  * of the secondary credits dialog.