mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Exclude use-header-bar from the defaultvalue test
This commit is contained in:
parent
106bcc7f5e
commit
c6ae9e6b47
@ -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_FILE_CHOOSER_WIDGET) ||
|
||||||
g_type_is_a (type, GTK_TYPE_PLACES_SIDEBAR))
|
g_type_is_a (type, GTK_TYPE_PLACES_SIDEBAR))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
klass = g_type_class_ref (type);
|
klass = g_type_class_ref (type);
|
||||||
|
|
||||||
if (g_type_is_a (type, GTK_TYPE_SETTINGS))
|
if (g_type_is_a (type, GTK_TYPE_SETTINGS))
|
||||||
@ -132,6 +132,11 @@ test_type (gconstpointer data)
|
|||||||
if ((pspec->flags & G_PARAM_READABLE) == 0)
|
if ((pspec->flags & G_PARAM_READABLE) == 0)
|
||||||
continue;
|
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) &&
|
if (g_type_is_a (type, GDK_TYPE_DISPLAY_MANAGER) &&
|
||||||
(strcmp (pspec->name, "default-display") == 0))
|
(strcmp (pspec->name, "default-display") == 0))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user