mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
rendernodeparser: Default color to black
Nobody wants to render transparent text.
This commit is contained in:
parent
0886ade182
commit
a04ea72ca1
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user