[pango] adding allow-none to pango_context_get_metrics parameters
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] adding allow-none to pango_context_get_metrics parameters
- Date: Mon, 25 Apr 2011 11:25:26 +0000 (UTC)
commit 9bea909f3eaff4ea3cd5d3065a9860ab0081db11
Author: Alberto Ruiz <aruiz gnome org>
Date: Mon Apr 25 12:25:15 2011 +0100
adding allow-none to pango_context_get_metrics parameters
pango/pango-context.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 0d650bd..3c84f3b 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1674,13 +1674,13 @@ update_metrics_from_items (PangoFontMetrics *metrics,
/**
* pango_context_get_metrics:
* @context: a #PangoContext
- * @desc: a #PangoFontDescription structure. %NULL means that the font
- * description from the context will be used.
- * @language: language tag used to determine which script to get the metrics
- * for. %NULL means that the language tag from the context will
- * be used. If no language tag is set on the context, metrics
- * for the default language (as determined by
- * pango_language_get_default()) will be returned.
+ * @desc: (allow-none): a #PangoFontDescription structure. %NULL means that the
+ * font description from the context will be used.
+ * @language: (allow-none): language tag used to determine which script to get
+ * the metrics for. %NULL means that the language tag from the context
+ * will be used. If no language tag is set on the context, metrics
+ * for the default language (as determined by pango_language_get_default())
+ * will be returned.
*
* Get overall metric information for a particular font
* description. Since the metrics may be substantially different for
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]