summaryrefslogtreecommitdiff
path: root/tests/test-font.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-11 12:43:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-06-22 13:54:01 -0400
commita2e3fc9337499b040bf330cfb5781920e618dc1e (patch)
treea53d53459374ced4a5ac8f3bebd1a3ed205f854b /tests/test-font.c
parentfc6028daaa214f04ad74bbcd046c98434a9bae64 (diff)
downloadpango-a2e3fc9337499b040bf330cfb5781920e618dc1e.tar.gz
Clean up PangoFontFace hierarchy
Move common fields to PangoFontFace, add private setters, and add properties.
Diffstat (limited to 'tests/test-font.c')
-rw-r--r--tests/test-font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-font.c b/tests/test-font.c
index 2aa2d334..a1713320 100644
--- a/tests/test-font.c
+++ b/tests/test-font.c
@@ -256,8 +256,8 @@ test_enumerate (void)
for (i = 0; i < g_list_model_get_n_items (G_LIST_MODEL (family)); i++)
{
PangoFontFace *f = g_list_model_get_item (G_LIST_MODEL (family), i);
- face = pango_font_family_get_face (family, pango_font_face_get_face_name (f));
- g_assert_cmpstr (pango_font_face_get_face_name (face), ==, pango_font_face_get_face_name (f));
+ face = pango_font_family_get_face (family, pango_font_face_get_name (f));
+ g_assert_cmpstr (pango_font_face_get_name (face), ==, pango_font_face_get_name (f));
g_object_unref (f);
}