[gtk+] Update treeview tests for focus changes



commit 8f7dceda3c86b25ea3083df753bf1114a12e9a7e
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 22 06:15:12 2014 -0400

    Update treeview tests for focus changes
    
    The treeview is not using focus-pad here anymore, so update
    the tests to not expect it.

 testsuite/gtk/treeview.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/gtk/treeview.c b/testsuite/gtk/treeview.c
index b39d9f6..abe1885 100644
--- a/testsuite/gtk/treeview.c
+++ b/testsuite/gtk/treeview.c
@@ -216,9 +216,9 @@ test_row_separator_height (void)
                         NULL);
 
   if (wide_separators)
-    height = separator_height + 2 * focus_pad;
+    height = separator_height;
   else
-    height = 2 + 2 * focus_pad;
+    height = 2;
 
   g_assert_cmpint (rect.height, ==, height);
   g_assert_cmpint (cell_rect.height, ==, height);


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