]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Fix error where we were waiting for the D-Bus to be acquired, not the name. This...
authorRobert Ancell <robert.ancell@canonical.com>
Mon, 24 Feb 2014 03:19:00 +0000 (16:19 +1300)
committerRobert Ancell <robert.ancell@canonical.com>
Mon, 24 Feb 2014 03:19:00 +0000 (16:19 +1300)
tests/src/test-runner.c

index fec53eae71a440be555a673909d40e2929261fb3..57af25b4210266fa0592a7480250bc4ab9ef36d8 100644 (file)
@@ -1254,8 +1254,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);
@@ -1509,8 +1509,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);