summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.c
diff options
context:
space:
mode:
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 5b0c4999..4c39ea1f 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -318,7 +318,7 @@ pango_fc_font_face_data_free (PangoFcFontFaceData *data)
FcPatternDestroy (data->pattern);
if (data->coverage)
- pango_coverage_unref (data->coverage);
+ g_object_unref (data->coverage);
g_free (data->languages);
@@ -1227,7 +1227,7 @@ pango_fc_fontset_finalize (GObject *object)
{
PangoCoverage *coverage = g_ptr_array_index (fontset->coverages, i);
if (coverage)
- pango_coverage_unref (coverage);
+ g_object_unref (coverage);
}
g_ptr_array_free (fontset->coverages, TRUE);
@@ -2541,7 +2541,7 @@ _pango_fc_font_map_get_coverage (PangoFcFontMap *fcfontmap,
data->coverage = _pango_fc_font_map_fc_to_coverage (charset);
}
- return pango_coverage_ref (data->coverage);
+ return g_object_ref (data->coverage);
}
/**