summaryrefslogtreecommitdiff
path: root/tests/testattributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testattributes.c')
-rw-r--r--tests/testattributes.c8
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}));