[gtk+] Update testlevelbar



commit e0aa35ca58a824d853717bab3243f64bac54144c
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Nov 13 06:40:28 2015 -0500

    Update testlevelbar
    
    This test needs some small updates after the recent changes
    to levelbar styling.

 tests/testlevelbar.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/tests/testlevelbar.c b/tests/testlevelbar.c
index 5504d63..233d216 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;"
   "}";
 


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