diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-13 06:40:28 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-13 06:41:14 -0500 |
commit | e0aa35ca58a824d853717bab3243f64bac54144c (patch) | |
tree | 2a965b63acb668e5ffbd9536977901f18457b67d /tests | |
parent | 4faef48410de3b2764cbefa2690f6b96fcb257a5 (diff) | |
download | gtk+-e0aa35ca58a824d853717bab3243f64bac54144c.tar.gz |
Update testlevelbar
This test needs some small updates after the recent changes
to levelbar styling.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testlevelbar.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/testlevelbar.c b/tests/testlevelbar.c index 5504d63e3e..233d216871 100644 --- a/tests/testlevelbar.c +++ b/tests/testlevelbar.c @@ -16,6 +16,9 @@ create_level_bar (void) GTK_LEVEL_BAR_OFFSET_HIGH, 9.0); gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar), + "full", 10.0); + + gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar), "my-offset", 5.0); return bar; @@ -26,12 +29,7 @@ add_custom_css (void) { GtkCssProvider *provider; const gchar data[] = - "levelbar.fill-block.empty-fill-block {" - " background-color: transparent;" - " background-image: none;" - " border-color: alpha(@theme_fg_color, 0.1);" - "}" - "levelbar.fill-block.level-my-offset {" + "levelbar block.my-offset {" " background: magenta;" "}"; |