summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-10-25 23:22:17 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-10-25 23:22:17 +0000
commit18247866c5843087f0e32c871449400f0d74b7f4 (patch)
tree74a8e6d0e40272153bb47aaa169015c9c7962196 /pango/pango-ot-info.c
parente2672ca52400f9111917d4fe0589d9915e28de32 (diff)
downloadpango-18247866c5843087f0e32c871449400f0d74b7f4.tar.gz
More cleanup, remove redundant error types.
2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: More cleanup, remove redundant error types. svn path=/trunk/; revision=2477
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index c10cdcb2..d6cb0ab2 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -297,7 +297,7 @@ pango_ot_info_get_gdef (PangoOTInfo *info)
{
error = HB_Load_GDEF_Table (info->face, &info->gdef);
- if (error && error != HB_Err_Table_Missing)
+ if (error && error != HB_Err_Not_Covered)
g_warning ("Error loading GDEF table %d", error);
if (!info->gdef)
@@ -327,7 +327,7 @@ pango_ot_info_get_gsub (PangoOTInfo *info)
{
error = HB_Load_GSUB_Table (info->face, &info->gsub, gdef);
- if (error && error != HB_Err_Table_Missing)
+ if (error && error != HB_Err_Not_Covered)
g_warning ("Error loading GSUB table %d", error);
}
}
@@ -351,7 +351,7 @@ pango_ot_info_get_gpos (PangoOTInfo *info)
{
error = HB_Load_GPOS_Table (info->face, &info->gpos, gdef);
- if (error && error != HB_Err_Table_Missing)
+ if (error && error != HB_Err_Not_Covered)
g_warning ("Error loading GPOS table %d", error);
}
}
@@ -505,7 +505,7 @@ pango_ot_info_find_language (PangoOTInfo *info,
guint *required_feature_index)
{
HB_ScriptList *script_list;
- HB_Script *script;
+ HB_ScriptTable *script;
int i;
if (language_index)
@@ -593,7 +593,7 @@ pango_ot_info_find_feature (PangoOTInfo *info,
{
HB_ScriptList *script_list;
HB_FeatureList *feature_list;
- HB_Script *script;
+ HB_ScriptTable *script;
HB_LangSys *lang_sys;
int i;
@@ -690,7 +690,7 @@ pango_ot_info_list_languages (PangoOTInfo *info,
{
PangoOTTag *result;
HB_ScriptList *script_list;
- HB_Script *script;
+ HB_ScriptTable *script;
int i;
g_return_val_if_fail (PANGO_IS_OT_INFO (info), NULL);
@@ -745,7 +745,7 @@ pango_ot_info_list_features (PangoOTInfo *info,
HB_ScriptList *script_list;
HB_FeatureList *feature_list;
- HB_Script *script;
+ HB_ScriptTable *script;
HB_LangSys *lang_sys;
int i;