diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c index 79ed6179f3..98f6dc7b43 100644 --- a/testsuite/gtk/defaultvalue.c +++ b/testsuite/gtk/defaultvalue.c @@ -411,6 +411,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS strcmp (pspec->name, "adjustment") == 0) continue; + if (g_type_is_a (type, GTK_TYPE_DROP_DOWN) && + strcmp (pspec->name, "factory") == 0) + continue; + /* All the icontheme properties depend on the environment */ if (g_type_is_a (type, GTK_TYPE_ICON_THEME)) continue; diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c index 62c22f2920..a5944a2b5c 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -647,6 +647,11 @@ test_type (gconstpointer data) g_str_equal (pspec->name, "selected-item"))) continue; + /* can't select items without an underlying, populated model */ + if (g_type_is_a (type, GTK_TYPE_DROP_DOWN) && + g_str_equal (pspec->name, "selected")) + continue; + /* can't set position without a notebook */ if (g_type_is_a (type, GTK_TYPE_NOTEBOOK_PAGE) && g_str_equal (pspec->name, "position"))