summaryrefslogtreecommitdiff
path: root/pango/pangocairo-font.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-10-15 17:48:20 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-10-15 17:48:20 +0000
commit2d66e2fe68468ca3a5033b715f4daff237b9dfd3 (patch)
treeca2c1a5ca0e84299aa1dc62c2bd570d7be5abf1d /pango/pangocairo-font.c
parent840d74b4712b8b77035cd8abbf72b3f6fe2e2c8c (diff)
downloadpango-2d66e2fe68468ca3a5033b715f4daff237b9dfd3.tar.gz
Bug 481537 – compiler warning fixes Patch from Kjartan Maraas
2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 481537 – compiler warning fixes Patch from Kjartan Maraas * pango/break.c (pango_get_log_attrs): * pango/pango-attributes.c (pango_attr_list_insert_internal): * pango/pango-layout.c (process_item), (justify_clusters): * pango/pango-markup.c (span_parse_boolean): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pango-utils.c (pango_scan_int): * pango/pangocairo-font.c (_pango_cairo_font_install): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): * pango/pangoft2.c (load_fallback_face): * pango/pangox-fontmap.c (pango_x_get_coverage_win): * pango/pangox.c (itemize_string_foreach): Fix warnings. svn path=/trunk/; revision=2444
Diffstat (limited to 'pango/pangocairo-font.c')
-rw-r--r--pango/pangocairo-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index 8c6ab66b..c33d3fde 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -189,7 +189,7 @@ gboolean
_pango_cairo_font_install (PangoFont *font,
cairo_t *cr)
{
- cairo_scaled_font_t *scaled_font = pango_cairo_font_get_scaled_font (font);
+ cairo_scaled_font_t *scaled_font = pango_cairo_font_get_scaled_font ((PangoCairoFont *)font);
if (G_UNLIKELY (scaled_font == NULL || cairo_scaled_font_status (scaled_font) != CAIRO_STATUS_SUCCESS))
return FALSE;