summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-12-26 02:31:35 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-12-26 02:31:35 +0000
commitaa841230aae629fffc9b94b3b1b1a4fa794c9d12 (patch)
tree67b5e4938d6fac2b964844363bd6ba8e92ed6dbf /pango/pangoft2.c
parent069472e0b2bb810e335c0e28a37dcb71e6843030 (diff)
downloadpango-aa841230aae629fffc9b94b3b1b1a4fa794c9d12.tar.gz
Fix more warnings.
2008-12-25 Behdad Esfahbod <behdad@gnome.org> * pango/modules.c (pango_module_load), (script_info_free): * pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table): * pango/pango-bidi-type.c: * pango/pango-coverage.c (pango_coverage_ref), (pango_coverage_unref): * pango/pango-engine.c (pango_engine_shape_real_covers), (fallback_engine_shape), (fallback_engine_covers): * pango/pango-fontmap.c (pango_font_map_init): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pangofc-decoder.c (pango_fc_decoder_init), (pango_fc_decoder_class_init): * pango/pangofc-font.c (pango_fc_font_find_shaper), (pango_fc_font_get_coverage): * pango/pangofc-fontmap.c (pango_fc_font_map_list_families), (pango_fc_make_pattern), (pango_fc_font_map_get_patterns), (get_first_font), (_pango_fc_font_map_get_coverage), (cleanup_font), (pango_fc_font_description_from_pattern), (pango_fc_face_list_sizes), (pango_fc_family_list_faces): * pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution): * pango/pangoft2-render.c (pango_ft2_renderer_init), (pango_ft2_renderer_draw_trapezoid): * pango/pangoft2.c (pango_ft2_font_get_face), (pango_ft2_font_real_unlock_face), (pango_ft2_free_glyph_info_callback): Fix more warnings. svn path=/trunk/; revision=2766
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index b3d97535..d13dc694 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -239,7 +239,7 @@ pango_ft2_font_get_face (PangoFont *font)
if (error != FT_Err_Ok)
{
bail0:
- load_fallback_face (ft2font, filename);
+ load_fallback_face (ft2font, (char *) filename);
}
g_assert (ft2font->face);
@@ -420,12 +420,12 @@ pango_ft2_font_real_lock_face (PangoFcFont *font)
}
static void
-pango_ft2_font_real_unlock_face (PangoFcFont *font)
+pango_ft2_font_real_unlock_face (PangoFcFont *font G_GNUC_UNUSED)
{
}
static gboolean
-pango_ft2_free_glyph_info_callback (gpointer key,
+pango_ft2_free_glyph_info_callback (gpointer key G_GNUC_UNUSED,
gpointer value,
gpointer data)
{