[pango] adding allow-none introspection metadata to pango_language_get_scripts parameters



commit aa08f45bfea5c5c91652fc98ac056579caabf369
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 13:29:19 2011 +0100

    adding allow-none introspection metadata to pango_language_get_scripts parameters

 pango/pango-language.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-language.c b/pango/pango-language.c
index a167588..c0297fa 100644
--- a/pango/pango-language.c
+++ b/pango/pango-language.c
@@ -553,8 +553,9 @@ pango_language_get_sample_string (PangoLanguage *language)
 
 /**
  * pango_language_get_scripts:
- * @language: a #PangoLanguage, or %NULL
- * @num_scripts: location to return number of scripts, or %NULL
+ * @language: (allow-none): a #PangoLanguage, or %NULL
+ * @num_scripts: (allow-none): location to return number of scripts,
+ *            or %NULL
  *
  * Determines the scripts used to to write @language.
  * If nothing is known about the language tag @language,



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