[pango/pango2-windows] pangowin32-fontmap.c: Avoid g_coverage_ref()
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2-windows] pangowin32-fontmap.c: Avoid g_coverage_ref()
- Date: Mon, 14 Mar 2022 08:48:54 +0000 (UTC)
commit 1d7bb7ad0d5137067d70cb0491da36491f539c94
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Mar 14 16:31:42 2022 +0800
pangowin32-fontmap.c: Avoid g_coverage_ref()
Use g_object_ref() instead.
pango/pangowin32-fontmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index b25f74cd..0f3a5ab5 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -759,7 +759,7 @@ create_standard_family (PangoWin32FontMap *win32fontmap,
pango_font_description_set_family_static (new_face->description, standard_family_name);
if (old_face->coverage != NULL)
- new_face->coverage = pango_coverage_ref (old_face->coverage);
+ new_face->coverage = g_object_ref (old_face->coverage);
else
new_face->coverage = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]