summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-07-10 22:05:04 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-07-10 22:05:04 +0000
commitbd2b21c9f509b3e2f518980b05d56f3d0dd4f2a7 (patch)
tree856ea0149e47d07f50f53ba79b10c1b2e6d85566 /pango/pangofc-fontmap.c
parentb4acfd2543118dd0a437b7781748d9a08062ae5a (diff)
downloadpango-bd2b21c9f509b3e2f518980b05d56f3d0dd4f2a7.tar.gz
Const-ification fix.
Sat Jul 10 18:03:58 2004 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.c (pango_fc_font_map_new_font): Const-ification fix.
Diffstat (limited to 'pango/pangofc-fontmap.c')
-rw-r--r--pango/pangofc-fontmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index e779b43d..6e54b632 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -612,8 +612,8 @@ pango_fc_make_pattern (const PangoFontDescription *description)
}
static PangoFont *
-pango_fc_font_map_new_font (PangoFontMap *fontmap,
- PangoMatrix *pango_matrix,
+pango_fc_font_map_new_font (PangoFontMap *fontmap,
+ const PangoMatrix *pango_matrix,
FcPattern *match)
{
PangoFcFontMap *fcfontmap = (PangoFcFontMap *)fontmap;
@@ -885,7 +885,7 @@ pango_fc_font_map_load_fontset (PangoFontMap *fontmap,
PangoFcFontMap *fcfontmap = PANGO_FC_FONT_MAP (fontmap);
PangoFcFontMapPrivate *priv = fcfontmap->priv;
PangoFontset *result;
- PangoMatrix *matrix;
+ const PangoMatrix *matrix;
int i;
if (!patterns)