[gtk/wip/otte/for-master: 17/17] rendernodeparser: Default color to black
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/for-master: 17/17] rendernodeparser: Default color to black
- Date: Sun, 12 May 2019 14:03:11 +0000 (UTC)
commit 206cdb647806771e102bcd9d59dfb875aa88232c
Author: Benjamin Otte <otte redhat com>
Date: Sun May 12 16:01:15 2019 +0200
rendernodeparser: Default color to black
Nobody wants to render transparent text.
gsk/gskrendernodeparser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c
index a576004a46..4f07b44437 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 },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]