summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parent3a3bc5a734c7ac35b00be3810ba81329b943d6c5 (diff)
downloadpango-1bb2a1f7d226cd1e7026bcb127598e6c5ba9a8af.tar.gz
Drop uses of pango_coverage_ref/unref
Just use g_object_ref/unref.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-coverage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-coverage.c b/tests/test-coverage.c
index 9d6bbb8c..ff4b7f1c 100644
--- a/tests/test-coverage.c
+++ b/tests/test-coverage.c
@@ -44,7 +44,7 @@ test_coverage_basic (void)
for (i = 0; i < 100; i++)
g_assert_cmpint (pango_coverage_get (coverage, i), ==, PANGO_COVERAGE_NONE);
- pango_coverage_unref (coverage);
+ g_object_unref (coverage);
}
static void
@@ -67,8 +67,8 @@ test_coverage_copy (void)
for (i = 0; i < 100; i++)
g_assert_cmpint (pango_coverage_get (coverage2, i), ==, PANGO_COVERAGE_EXACT);
- pango_coverage_unref (coverage);
- pango_coverage_unref (coverage2);
+ g_object_unref (coverage);
+ g_object_unref (coverage2);
}
int