Fix make check
Don't try setting GtkShortcutsShortcut::accelerator to a random value, it only accepts strings that it can parse.
This commit is contained in:
@ -661,6 +661,10 @@ test_type (gconstpointer data)
|
|||||||
pspec->owner_type == GTK_TYPE_BUTTON)
|
pspec->owner_type == GTK_TYPE_BUTTON)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (g_type_is_a (type, GTK_TYPE_SHORTCUTS_SHORTCUT) &&
|
||||||
|
g_str_equal (pspec->name, "accelerator"))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (g_test_verbose ())
|
if (g_test_verbose ())
|
||||||
g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);
|
g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user