From ccb0a0fdfebcb5e9350a124a188c2cdcc182ca00 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 9 Feb 2019 22:54:37 -0500 Subject: [PATCH] testsuite: omit some selection properties The selected property of GtkSingleSelection is not freely settable, so omit it from notification tests. --- testsuite/gtk/notify.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c index 228195b2d3..20315b22f2 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -611,6 +611,12 @@ test_type (gconstpointer data) g_str_equal (pspec->name, "expanded")) continue; + /* can't select items without an underlying, populated model */ + if (g_type_is_a (type, GTK_TYPE_SINGLE_SELECTION) && + (g_str_equal (pspec->name, "selected") || + g_str_equal (pspec->name, "selected-item"))) + continue; + if (g_test_verbose ()) g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);