Run tests without requiring a display

This commit is contained in:
Christian Dywan 2009-02-19 02:22:00 +01:00
parent 95e629679b
commit d9cc5a6592
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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,