summaryrefslogtreecommitdiff
path: root/tests/testheaderbar.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-12-24 16:27:54 +0100
committerTimm Bäder <mail@baedert.org>2017-12-28 16:48:35 +0100
commit006f2e32cf3111a2111003e6ee996655475131ff (patch)
tree2e5ec9230037907058c2d0e2fc9786ebd999fbb9 /tests/testheaderbar.c
parent4241c4bdbd652abb76a3c9fc3e1194bc606a4477 (diff)
downloadgtk+-006f2e32cf3111a2111003e6ee996655475131ff.tar.gz
testheaderbar: Fix custom CSS
Diffstat (limited to 'tests/testheaderbar.c')
-rw-r--r--tests/testheaderbar.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/testheaderbar.c b/tests/testheaderbar.c
index 3f2bf3263e..3a8121d251 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; "
"}";