summaryrefslogtreecommitdiff
path: root/pango/pangowin32.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/pangowin32.c
parent3a3bc5a734c7ac35b00be3810ba81329b943d6c5 (diff)
downloadpango-1bb2a1f7d226cd1e7026bcb127598e6c5ba9a8af.tar.gz
Drop uses of pango_coverage_ref/unref
Just use g_object_ref/unref.
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r--pango/pangowin32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index 2d22e1d1..eed92dde 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -596,7 +596,7 @@ pango_win32_font_get_metrics (PangoFont *font,
else
metrics->approximate_digit_width = metrics->approximate_char_width;
- pango_coverage_unref (coverage);
+ g_object_unref (coverage);
/* FIXME: Should get the real values from the TrueType font file */
metrics->underline_position = -2 * PANGO_SCALE;
@@ -885,10 +885,10 @@ pango_win32_font_get_coverage (PangoFont *font,
while (hb_set_next(chars, &ch))
pango_coverage_set (coverage, ch, PANGO_COVERAGE_EXACT);
- win32face->coverage = pango_coverage_ref (coverage);
+ win32face->coverage = g_object_ref (coverage);
}
- return pango_coverage_ref (win32face->coverage);
+ return g_object_ref (win32face->coverage);
}
/* Utility functions */