tests/dbus: Switch to g_test_init
gtk_test_init() runs gtk_init() which then breaks isolation.
This commit is contained in:

committed by
Evangelos Ribeiro Tzaras

parent
e4bd4580e7
commit
4fb2115b9b
@@ -218,7 +218,7 @@ int
|
|||||||
main (int argc,
|
main (int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
gtk_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
g_test_add ("/Calls/DBus/no_calls", DBusTestFixture, NULL,
|
g_test_add ("/Calls/DBus/no_calls", DBusTestFixture, NULL,
|
||||||
fixture_setup, test_no_calls, fixture_teardown);
|
fixture_setup, test_no_calls, fixture_teardown);
|
||||||
|
Reference in New Issue
Block a user