From d69100547c472ef27991db4e2f85941467d5d5c7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 5 Mar 2016 13:47:41 -0500 Subject: [PATCH] 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 file changed, 3 deletions(-) diff --git a/testsuite/gtk/window.c b/testsuite/gtk/window.c index c28b8a07ed..1b9ad99648 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);