summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-10 09:55:52 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-10 10:02:57 -0500
commit1bb2a1f7d226cd1e7026bcb127598e6c5ba9a8af (patch)
treee2d2f2148fcbfa77b9fd241397c46a859cce98b2 /pango/pangofc-fontmap.c
parent3a3bc5a734c7ac35b00be3810ba81329b943d6c5 (diff)
downloadpango-1bb2a1f7d226cd1e7026bcb127598e6c5ba9a8af.tar.gz
Drop uses of pango_coverage_ref/unref
Just use g_object_ref/unref.
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);
}
/**