diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-02-07 00:55:04 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-13 14:28:05 -0600 |
commit | 3f20d1b8ea1730f0ca6ffeb66b1fc462965a877b (patch) | |
tree | f768533187e389a01a7cdfc36f3936147047a588 /tests/testattributes.c | |
parent | 16b209a5e8abdc2dfed469f043498bf954efd7e0 (diff) | |
download | pango-3f20d1b8ea1730f0ca6ffeb66b1fc462965a877b.tar.gz |
Rename PangoUnderline to PangoLineStyle
Diffstat (limited to 'tests/testattributes.c')
-rw-r--r-- | tests/testattributes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testattributes.c b/tests/testattributes.c index e07387f4..c308d67c 100644 --- a/tests/testattributes.c +++ b/tests/testattributes.c @@ -50,8 +50,8 @@ test_attributes_basic (void) desc = pango_font_description_from_string ("Computer Modern 12"); test_copy (pango_attr_font_desc_new (desc)); pango_font_description_free (desc); - test_copy (pango_attr_underline_new (PANGO_UNDERLINE_SINGLE)); - test_copy (pango_attr_underline_new (PANGO_UNDERLINE_ERROR)); + test_copy (pango_attr_underline_new (PANGO_LINE_STYLE_SINGLE)); + test_copy (pango_attr_underline_new (PANGO_LINE_STYLE_DOTTED)); test_copy (pango_attr_underline_color_new (&(PangoColor){100, 200, 300})); test_copy (pango_attr_overline_new (PANGO_OVERLINE_SINGLE)); test_copy (pango_attr_overline_color_new (&(PangoColor){100, 200, 300})); @@ -230,8 +230,8 @@ test_binding_helpers (void) desc = pango_font_description_from_string ("Computer Modern 12"); test_binding (pango_attr_font_desc_new (desc)); pango_font_description_free (desc); - test_binding (pango_attr_underline_new (PANGO_UNDERLINE_SINGLE)); - test_binding (pango_attr_underline_new (PANGO_UNDERLINE_ERROR)); + test_binding (pango_attr_underline_new (PANGO_LINE_STYLE_SINGLE)); + test_binding (pango_attr_underline_new (PANGO_LINE_STYLE_DOTTED)); test_binding (pango_attr_underline_color_new (&(PangoColor){100, 200, 300})); test_binding (pango_attr_overline_new (PANGO_OVERLINE_SINGLE)); test_binding (pango_attr_overline_color_new (&(PangoColor){100, 200, 300})); |