From: Christian Dywan Date: Thu, 19 Feb 2009 01:22:00 +0000 (+0100) Subject: Run tests without requiring a display X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9cc5a659274d65bae6d6702033e26d4289645a3;p=midori Run tests without requiring a display --- diff --git a/tests/completion.c b/tests/completion.c index cd947e36..e6ee0768 100644 --- a/tests/completion.c +++ b/tests/completion.c @@ -285,7 +285,7 @@ main (int argc, char** argv) { g_test_init (&argc, &argv, NULL); - gtk_init (&argc, &argv); + gtk_init_check (&argc, &argv); g_test_add_func ("/completion/count", completion_count); g_test_add_func ("/completion/fill", completion_fill); diff --git a/tests/extensions.c b/tests/extensions.c index c8b95e78..33b81e2d 100644 --- a/tests/extensions.c +++ b/tests/extensions.c @@ -90,7 +90,7 @@ main (int argc, char** argv) { g_test_init (&argc, &argv, NULL); - gtk_init (&argc, &argv); + gtk_init_check (&argc, &argv); g_test_add_func ("/extensions/create", extension_create); g_test_add_func ("/extensions/settings", extension_settings); diff --git a/tests/magic-uri.c b/tests/magic-uri.c index 38046f73..ed74c43a 100644 --- a/tests/magic-uri.c +++ b/tests/magic-uri.c @@ -25,7 +25,7 @@ main (int argc, gchar* uri; gchar* a, *b; - gtk_init (&argc, &argv); + gtk_init_check (&argc, &argv); search_engines = katze_array_new (KATZE_TYPE_ITEM); item = g_object_new (KATZE_TYPE_ITEM,