diff options
author | Benjamin Otte <otte@redhat.com> | 2019-05-12 16:01:15 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-05-12 17:28:19 +0200 |
commit | a04ea72ca1c3babb1ffcc4200166286247cfe286 (patch) | |
tree | 2ba5267fbb3d8a04fcebfd6a24551b803c381ae8 | |
parent | 0886ade182f1a958024202d5c20248d57fcdb053 (diff) | |
download | gtk+-a04ea72ca1c3babb1ffcc4200166286247cfe286.tar.gz |
rendernodeparser: Default color to black
Nobody wants to render transparent text.
-rw-r--r-- | gsk/gskrendernodeparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c index 06b2b183c7..234ef487a4 100644 --- a/gsk/gskrendernodeparser.c +++ b/gsk/gskrendernodeparser.c @@ -942,7 +942,7 @@ parse_text_node (GtkCssParser *parser) PangoFont *font = NULL; double x = 0; double y = 0; - GdkRGBA color = { 0, 0, 0, 0 }; + GdkRGBA color = { 0, 0, 0, 1 }; PangoGlyphString *glyphs = NULL; const Declaration declarations[] = { { "font", parse_font, &font }, |