summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 519b6bc1..799af7a2 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1160,14 +1160,17 @@ pango_matrix_concat (PangoMatrix *matrix,
* pango_matrix_get_font_scale_factor:
* @matrix: a #PangoMatrix, may be %NULL
*
- * Return value: the scale factor of @matrix on the height of the font.
+ * Returns the scale factor of a matrix on the height of the font.
* That is, the scale factor in the direction perpendicular to the
- * vector that the X coordinate is mapped to, or 1.0 if @matrix is %NULL.
+ * vector that the X coordinate is mapped to.
+ *
+ * Return value: the scale factor of @matrix on the height of the font,
+ * or 1.0 if @matrix is %NULL.
*
* Since: 1.12
**/
double
-pango_matrix_get_font_scale_factor (PangoMatrix *matrix)
+pango_matrix_get_font_scale_factor (const PangoMatrix *matrix)
{
/*
* Based on cairo-matrix.c:_cairo_matrix_compute_scale_factors()
@@ -1338,7 +1341,7 @@ pango_language_from_string (const char *language)
* or the range is a prefix of the tag, and the character after the
* tag is '-'.
*
- * Returns: %TRUE if a match was found.
+ * Return value: %TRUE if a match was found.
**/
gboolean
pango_language_matches (PangoLanguage *language,