forked from AuroraMiddleware/gtk
Exempt "pages" properties from defaultvalue test
Ironically, these properties are too good - they always give you a proper value, which is unfortunately different from the declared default value, which is NULL. So, don't check these.
This commit is contained in:
parent
2866a13f30
commit
ae9a29f8ce
@ -157,7 +157,12 @@ test_type (gconstpointer data)
|
||||
continue;
|
||||
|
||||
if (g_type_is_a (type, GTK_TYPE_ASSISTANT) &&
|
||||
(strcmp (pspec->name, "use-header-bar") == 0))
|
||||
(strcmp (pspec->name, "use-header-bar") == 0 ||
|
||||
strcmp (pspec->name, "pages") == 0)) /* pages always gets a non-NULL value */
|
||||
continue;
|
||||
|
||||
if (g_type_is_a (type, GTK_TYPE_STACK) &&
|
||||
(strcmp (pspec->name, "pages") == 0)) /* pages always gets a non-NULL value */
|
||||
continue;
|
||||
|
||||
if (g_type_is_a (type, GTK_TYPE_POPOVER) &&
|
||||
|
Loading…
Reference in New Issue
Block a user