[gtk+] testsuite: Remove a test that isn't valid with csd



commit d69100547c472ef27991db4e2f85941467d5d5c7
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Mar 5 13:47:41 2016 -0500

    testsuite: Remove a test that isn't valid with csd
    
    With csd, the allocation of the window will be larger than the
    default size, since it includes borders and decorations. Just
    remove this check.

 testsuite/gtk/window.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/testsuite/gtk/window.c b/testsuite/gtk/window.c
index c28b8a0..1b9ad99 100644
--- a/testsuite/gtk/window.c
+++ b/testsuite/gtk/window.c
@@ -88,9 +88,6 @@ test_default_size (void)
   g_assert_cmpint (w, ==, 300);
   g_assert_cmpint (h, ==, 300);
 
-  g_assert_cmpint (gtk_widget_get_allocated_width (window), ==, 300);
-  g_assert_cmpint (gtk_widget_get_allocated_height (window), ==, 300);
-
   g_assert_cmpint (gtk_widget_get_allocated_width (box), ==, 300);
   g_assert_cmpint (gtk_widget_get_allocated_height (box), ==, 300);
 


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