From 9bea909f3eaff4ea3cd5d3065a9860ab0081db11 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Mon, 25 Apr 2011 12:25:15 +0100 Subject: [PATCH] adding allow-none to pango_context_get_metrics parameters --- pango/pango-context.c | 14 +++++++------- 1 file 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 -- 2.7.4