testsuite: Skip some GtkDropDown properties

The ::factory and ::selected properties need to
be skipped.
This commit is contained in:
Matthias Clasen
2020-05-29 22:20:18 -04:00
parent e767217acd
commit 58a84b5b16
2 changed files with 9 additions and 0 deletions

View File

@@ -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;

View File

@@ -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"))