[gtksourceview] [introspection] Fix two annotations



commit 18a4f63a8afdb5b08874e32b948951564a19a645
Author: Johan Dahlin <johan gnome org>
Date:   Fri Sep 24 11:50:04 2010 -0300

    [introspection] Fix two annotations
    
    zero-terminated needs a value

 gtksourceview/gtksourcelanguagemanager.c |    2 +-
 gtksourceview/gtksourcestylescheme.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcelanguagemanager.c b/gtksourceview/gtksourcelanguagemanager.c
index 020245b..b431e1f 100644
--- a/gtksourceview/gtksourcelanguagemanager.c
+++ b/gtksourceview/gtksourcelanguagemanager.c
@@ -271,7 +271,7 @@ gtk_source_language_manager_set_search_path (GtkSourceLanguageManager *lm,
  *
  * Gets the list directories where @lm looks for language files.
  *
- * Returns: (array zero-terminated) (transfer none): %NULL-terminated array
+ * Returns: (array zero-terminated=1) (transfer none): %NULL-terminated array
  * containg a list of language files directories.
  * The array is owned by @lm and must not be modified.
  */
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 85802d1..088faa1 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -305,7 +305,7 @@ gtk_source_style_scheme_get_description (GtkSourceStyleScheme *scheme)
  * gtk_source_style_scheme_get_authors:
  * @scheme: a #GtkSourceStyleScheme.
  *
- * Returns: (array zero-terminated) (transfer none): a %NULL-terminated
+ * Returns: (array zero-terminated=1) (transfer none): a %NULL-terminated
  * array containing the @scheme authors or %NULL if no author
  * is specified by the style scheme.
  *



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