summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-06-08 09:03:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-06-08 09:04:33 -0400
commit023f406c9617284ee3b88727df489f20cd066fd6 (patch)
tree9e2e715cf703039097329edb8dc9838f180ecada
parent85407180cf81946db15bb51c783526387931594f (diff)
downloadgtk+-023f406c9617284ee3b88727df489f20cd066fd6.tar.gz
test: Skip GtkScrolledWindow::max-content- properties
The allowed values for the max-content- properties depend on the value of the min-content- properties, in a way that our simple test is not prepared to deal with. Just skip them for now.
-rw-r--r--testsuite/gtk/notify.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 49e567343e..4761988a8c 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -674,6 +674,12 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "font-name"))
continue;
+ /* these depend on the min-content- properties in a way that breaks our test */
+ if (g_type_is_a (type, GTK_TYPE_SCROLLED_WINDOW) &&
+ (g_str_equal (pspec->name, "max-content-width") ||)
+ g_str_equal (pspec->name, "max-content-height"))
+ continue;
+
if (g_test_verbose ())
g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);