summaryrefslogtreecommitdiff
path: root/pango/pango-attr-list.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 /pango/pango-attr-list.c
parent47d07d41137ee206a5fd9b8041dccbec5ab60411 (diff)
downloadpango-5b4d403b325afef41db811ce21f541933541b56a.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 'pango/pango-attr-list.c')
-rw-r--r--pango/pango-attr-list.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/pango/pango-attr-list.c b/pango/pango-attr-list.c
index ca82fd60..bcd02fb2 100644
--- a/pango/pango-attr-list.c
+++ b/pango/pango-attr-list.c
@@ -1196,14 +1196,6 @@ pango_attr_list_from_string (const char *text)
ENUM_ATTR(gravity_hint, PangoGravityHint, PANGO_GRAVITY_HINT_NATURAL, PANGO_GRAVITY_HINT_LINE);
break;
- case PANGO_ATTR_FOREGROUND_ALPHA:
- INT_ATTR(foreground_alpha, int);
- break;
-
- case PANGO_ATTR_BACKGROUND_ALPHA:
- INT_ATTR(background_alpha, int);
- break;
-
case PANGO_ATTR_ALLOW_BREAKS:
BOOLEAN_ATTR(allow_breaks, gboolean);
break;