rendernodeparser: Default color to black

Nobody wants to render transparent text.
This commit is contained in:
Benjamin Otte 2019-05-12 16:01:15 +02:00
parent 0886ade182
commit a04ea72ca1

View File

@ -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 },