Use headless init functions to prevent test breakage

This commit is contained in:
David Boddie
2019-08-01 16:00:59 +02:00
parent c8bc2c424f
commit 9344a13bed
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ test_create (void)
int
main (int argc, char **argv)
{
gtk_test_init (&argc, &argv, NULL);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/eek-simple-test/create", test_create);
return g_test_run ();
}

View File

@ -46,7 +46,7 @@ test_output_parse (void)
int
main (int argc, char **argv)
{
gtk_test_init (&argc, &argv, NULL);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/eek-xml-test/output-parse", test_output_parse);

View File

@ -63,7 +63,7 @@ test_check_xkb (void)
int
main (int argc, char **argv)
{
gtk_test_init (&argc, &argv, NULL);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/test-keymap-generation/check-xkb", test_check_xkb);