summaryrefslogtreecommitdiff
path: root/pango/pangowin32.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-10 16:52:34 +0000
committerMatthias Clasen <mclasen@redhat.com>2022-01-10 16:52:34 +0000
commit1d580bd003b8c998e2e410c12ca84f097c56f853 (patch)
tree6127a158d45897d110ab0fe7b59a6304105247af /pango/pangowin32.c
parent523f0cd58d6ef400e23c3862854c241932669da0 (diff)
parentc295c78c8ff51885073bd7f95aa742afc5f20dbd (diff)
downloadpango-1d580bd003b8c998e2e410c12ca84f097c56f853.tar.gz
Merge branch 'deprecate-coverage-ref' into 'main'
Drop uses of pango_coverage_ref/unref See merge request GNOME/pango!577
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 */