summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-21 19:51:25 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-21 19:51:25 +0000
commitf4a9ab9847427582a0d1a4edc1ab82430fe3d7ec (patch)
tree167957b05ad69e2aff241b5e64af43e0c99c2039 /pango/pango-utils.c
parent553014c7319eecc18c939365e40d632a74098f7e (diff)
downloadpango-f4a9ab9847427582a0d1a4edc1ab82430fe3d7ec.tar.gz
Make matrix parameter const.
2006-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-types.h, pango/pango-utils.h (pango_matrix_get_font_scale_factor): Make matrix parameter const. * pango/fonts.c, pango/pango-context.c, pango/pango-coverage.c, pango/pango-fontset.c, pango/pango-layout.c, pango/pango-renderer.c, pango/pango-types.h, pango/pango-utils.c, pango/pangocairo-atsuifont.c, pango/pangofc-font.c, pango/pangoft2-fontmap.c, pango/pangowin32-fontmap.c, pango/pangowin32.c, pango/pangox-fontmap.c, pango/pangoxft-font.c: Replace "Returns:" with "Return value:" in docs.
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 4b3adc3d..56313fda 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1164,7 +1164,7 @@ pango_matrix_concat (PangoMatrix *matrix,
* 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()
@@ -1336,7 +1336,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,