summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2014-08-22 13:41:12 +1200
committerRobert Ancell <robert.ancell@canonical.com>2014-08-22 13:41:12 +1200
commit05acc583fdbeb4db2fbc30f15a134e64dfe3040d (patch)
treec3b33fe8d9e58cfc8c84d94c6950333743a1ddfc /tests/src
parent811a9967107aead92b0e5673416de5beba557970 (diff)
parent2b95d13e880ef4bb927fd0df4debfce3f0a9f766 (diff)
downloadlightdm-05acc583fdbeb4db2fbc30f15a134e64dfe3040d.tar.gz
Make a login1 service object (not currently required, but will be used for automatic multi-seat support)
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/test-runner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test-runner.c b/tests/src/test-runner.c
index f02bcc28..8bab571a 100644
--- a/tests/src/test-runner.c
+++ b/tests/src/test-runner.c
@@ -1626,7 +1626,7 @@ handle_login1_call (GDBusConnection *connection,
Login1Seat *seat = link->data;
g_variant_builder_add (&seats, "(so)", seat->id, seat->path);
}
- g_dbus_method_invocation_return_value (invocation, g_variant_new ("(a(so))", g_variant_builder_end (&seats)));
+ g_dbus_method_invocation_return_value (invocation, g_variant_new ("(a(so))", &seats));
}
else if (strcmp (method_name, "GetSessionByPID") == 0)
{