summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-01-17 17:03:00 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-01-17 17:52:08 -0500
commitc6ae9e6b47b55c4ae1ae5a5bbf014c7207dc6f04 (patch)
treea4bc0c49f3f4263e337464ac24abddbc1437f9f8 /testsuite
parent106bcc7f5e3ff116f8a8c265627e20332e200615 (diff)
downloadgtk+-c6ae9e6b47b55c4ae1ae5a5bbf014c7207dc6f04.tar.gz
Exclude use-header-bar from the defaultvalue test
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gtk/defaultvalue.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 9b2bcaf407..d766269254 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -97,7 +97,7 @@ test_type (gconstpointer data)
g_type_is_a (type, GTK_TYPE_FILE_CHOOSER_WIDGET) ||
g_type_is_a (type, GTK_TYPE_PLACES_SIDEBAR))
return;
-
+
klass = g_type_class_ref (type);
if (g_type_is_a (type, GTK_TYPE_SETTINGS))
@@ -132,6 +132,11 @@ test_type (gconstpointer data)
if ((pspec->flags & G_PARAM_READABLE) == 0)
continue;
+ /* This one has a special-purpose default value */
+ if (g_type_is_a (type, GTK_TYPE_DIALOG) &&
+ (strcmp (pspec->name, "use-header-bar") == 0))
+ continue;
+
if (g_type_is_a (type, GDK_TYPE_DISPLAY_MANAGER) &&
(strcmp (pspec->name, "default-display") == 0))
continue;