From d9cc5a659274d65bae6d6702033e26d4289645a3 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 19 Feb 2009 02:22:00 +0100 Subject: [PATCH] Run tests without requiring a display --- tests/completion.c | 2 +- tests/extensions.c | 2 +- tests/magic-uri.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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, -- 2.39.5