[gtk+/wip/baedert/gl: 136/146] testheaderbar: Fix custom CSS



commit 006f2e32cf3111a2111003e6ee996655475131ff
Author: Timm Bäder <mail baedert org>
Date:   Sun Dec 24 16:27:54 2017 +0100

    testheaderbar: Fix custom CSS

 tests/testheaderbar.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/tests/testheaderbar.c b/tests/testheaderbar.c
index 3f2bf32..3a8121d 100644
--- a/tests/testheaderbar.c
+++ b/tests/testheaderbar.c
@@ -2,9 +2,7 @@
 
 static const gchar css[] =
  ".main.background { "
- " background-image: -gtk-gradient (linear, center top, center bottom, "
- "      from (red), "
- "      to (blue)); "
+ " background-image: linear-gradient(to bottom, red, blue);"
  " border-width: 0px; "
  "}"
  ".titlebar.backdrop { "
@@ -13,9 +11,7 @@ static const gchar css[] =
  " border-radius: 10px 10px 0px 0px; "
  "}"
  ".titlebar { "
- " background-image: -gtk-gradient (linear, center top, center bottom, "
- "      from (white), "
- "      to (@bg_color)); "
+ " background-image: linear-gradient(to bottom, white, @bg_color);"
  " border-radius: 10px 10px 0px 0px; "
  "}";
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]