summaryrefslogtreecommitdiff
path: root/tests/testattributes.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-02-08 14:08:25 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-02-13 14:30:32 -0600
commit5b4d403b325afef41db811ce21f541933541b56a (patch)
tree98d62ae2646b60c933ae75148d25160a87e894eb /tests/testattributes.c
parent47d07d41137ee206a5fd9b8041dccbec5ab60411 (diff)
downloadpango-redo-attrs.tar.gz
Add alpha to PangoColorredo-attrs
Adapt all users. This drops the alpha attributes and alpha in markup, and adds alpha support to underlines, overlines and strikethroughs.
Diffstat (limited to 'tests/testattributes.c')
-rw-r--r--tests/testattributes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 71144821..1bcaadcb 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -64,8 +64,6 @@ test_attributes_basic (void)
test_copy (pango_attr_gravity_new (PANGO_GRAVITY_SOUTH));
test_copy (pango_attr_gravity_hint_new (PANGO_GRAVITY_HINT_STRONG));
test_copy (pango_attr_font_features_new ("csc=1"));
- test_copy (pango_attr_foreground_alpha_new (8000));
- test_copy (pango_attr_background_alpha_new (8000));
test_copy (pango_attr_allow_breaks_new (FALSE));
test_copy (pango_attr_show_new (PANGO_SHOW_SPACES));
test_copy (pango_attr_insert_hyphens_new (FALSE));
@@ -244,8 +242,6 @@ test_binding_helpers (void)
test_binding (pango_attr_gravity_new (PANGO_GRAVITY_SOUTH));
test_binding (pango_attr_gravity_hint_new (PANGO_GRAVITY_HINT_STRONG));
test_binding (pango_attr_font_features_new ("csc=1"));
- test_binding (pango_attr_foreground_alpha_new (8000));
- test_binding (pango_attr_background_alpha_new (8000));
test_binding (pango_attr_allow_breaks_new (FALSE));
test_binding (pango_attr_show_new (PANGO_SHOW_SPACES));
test_binding (pango_attr_insert_hyphens_new (FALSE));