diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-03-13 10:32:32 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-03-13 10:32:32 +1300 |
commit | ae02bf79d0f3cee7345f0f4a9588c5b57eeef57b (patch) | |
tree | 340d6992c0fe5aa65529d1b2d7162842cb967931 | |
parent | 49ef26f53901891c6e4d082114c7d1cff9e5c7ce (diff) | |
download | lightdm-git-ae02bf79d0f3cee7345f0f4a9588c5b57eeef57b.tar.gz |
Fix error where we were waiting for the D-Bus to be acquired, not the name. This meant in rare cases tests could run without the required D-Bus services available.
-rw-r--r-- | tests/src/test-runner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/test-runner.c b/tests/src/test-runner.c index 0e1eb75b..f1374df9 100644 --- a/tests/src/test-runner.c +++ b/tests/src/test-runner.c @@ -1126,8 +1126,8 @@ start_console_kit_daemon (void) g_bus_own_name (G_BUS_TYPE_SYSTEM, "org.freedesktop.ConsoleKit", G_BUS_NAME_OWNER_FLAGS_NONE, - ck_name_acquired_cb, NULL, + ck_name_acquired_cb, NULL, NULL, NULL); @@ -1381,8 +1381,8 @@ start_login1_daemon (void) g_bus_own_name (G_BUS_TYPE_SYSTEM, "org.freedesktop.login1", G_BUS_NAME_OWNER_FLAGS_NONE, - login1_name_acquired_cb, NULL, + login1_name_acquired_cb, NULL, NULL, NULL); |