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



commit ea31f7f4ca5ce352726e63518d7496a6caaed7c4
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 13:17:01 2011 +0100

    adding allow-none introspection metadata to pango_font_get_metrics parameters

 pango/fonts.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/pango/fonts.c b/pango/fonts.c
index 99c9f3e..059a226 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1593,9 +1593,8 @@ pango_font_get_glyph_extents  (PangoFont      *font,
 /**
  * pango_font_get_metrics:
  * @font: a #PangoFont
- * @language: language tag used to determine which script to get the metrics
- *            for, or %NULL to indicate to get the metrics for the entire
- *            font.
+ * @language: (allow-none): language tag used to determine which script to get the metrics
+ *            for, or %NULL to indicate to get the metrics for the entire font.
  *
  * Gets overall metric information for a font. Since the metrics may be
  * substantially different for different scripts, a language tag can



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