[gtk/wip/baedert/nodeeditor] nodeparser: Use a more sensible default for color nodes
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/nodeeditor] nodeparser: Use a more sensible default for color nodes
- Date: Wed, 24 Apr 2019 09:29:33 +0000 (UTC)
commit f4001e8b82030ed732e1e6a1f1e7e262061eaa52
Author: Timm Bäder <mail baedert org>
Date: Wed Apr 24 11:27:07 2019 +0200
nodeparser: Use a more sensible default for color nodes
gsk/gskrendernodeparser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c
index 0321c1ab49..ed480b9650 100644
--- a/gsk/gskrendernodeparser.c
+++ b/gsk/gskrendernodeparser.c
@@ -663,7 +663,7 @@ static GskRenderNode *
parse_color_node (GtkCssParser *parser)
{
graphene_rect_t bounds = GRAPHENE_RECT_INIT (0, 0, 0, 0);
- GdkRGBA color = { 0, 0, 0, 0 };
+ GdkRGBA color = { 0, 0, 0, 1 };
const Declaration declarations[] = {
{ "bounds", parse_rect, &bounds },
{ "color", parse_color, &color },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]