Use a test-oriented init call

This commit is contained in:
David Boddie
2019-07-30 17:20:15 +02:00
parent e801a68f0d
commit 9b2fcf89e8
4 changed files with 3 additions and 186 deletions

View File

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