summaryrefslogtreecommitdiff
path: root/pango/modules.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/modules.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/modules.c')
-rw-r--r--pango/modules.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/pango/modules.c b/pango/modules.c
index a93dc090..16a04eb2 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -178,13 +178,13 @@ pango_module_load (GTypeModule *module)
/* extract symbols from the lib */
if (!g_module_symbol (pango_module->library, "script_engine_init",
- (gpointer *)&pango_module->init) ||
+ (gpointer *)(void *)&pango_module->init) ||
!g_module_symbol (pango_module->library, "script_engine_exit",
- (gpointer *)&pango_module->exit) ||
+ (gpointer *)(void *)&pango_module->exit) ||
!g_module_symbol (pango_module->library, "script_engine_list",
- (gpointer *)&pango_module->list) ||
+ (gpointer *)(void *)&pango_module->list) ||
!g_module_symbol (pango_module->library, "script_engine_create",
- (gpointer *)&pango_module->create))
+ (gpointer *)(void *)&pango_module->create))
{
g_warning ("%s", g_module_error());
g_module_close (pango_module->library);
@@ -373,7 +373,8 @@ script_from_string (const char *str)
}
static void
-script_info_free (PangoEngineScriptInfo *script_info, gpointer data)
+script_info_free (PangoEngineScriptInfo *script_info,
+ gpointer data G_GNUC_UNUSED)
{
g_slice_free (PangoEngineScriptInfo, script_info);
}