aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-10-27 23:29:14 +0200
committerThomas White <taw@bitwiz.me.uk>2018-10-27 23:29:14 +0200
commit7e36b2a0fc2180d8d319b54159a6680801247ba4 (patch)
tree560421b93e8372aebda2b48c68a0712a41e2fee7 /src/sc_interp.c
parent7d585a94af8d021c6d0df0cfd0fe25b6aab367ae (diff)
Allow alpha values for stylesheet colours
Get rid of GRAD_NOBG, because it's now handled by transparency
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r--src/sc_interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 91775f5..7bbfeeb 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -584,7 +584,7 @@ SCInterpreter *sc_interp_new(PangoContext *pc, PangoLanguage *lang,
st->bgcol2[1] = 1.0;
st->bgcol2[2] = 1.0;
st->bgcol2[3] = 1.0;
- st->bggrad = GRAD_NOBG;
+ st->bggrad = GRAD_NONE;
scin->lang = lang;
/* The "ultimate" default font */