summaryrefslogtreecommitdiff
path: root/tests
diff options
authorRobert Ancell <robert.ancell@canonical.com>2017-12-22 12:40:34 +1300
committerRobert Ancell <robert.ancell@canonical.com>2017-12-22 12:40:34 +1300
commitbb1a5eb4f94a0dc42adde95bf01514cb79eb11a9 (patch)
treec89f2c4c86e4f64119d9a61b9f854bf5578273dd /tests
parent6015bce25f241e7580c03594d846769f8236232f (diff)
Fix up KeyboardLayouts migration to AccountsService extension
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test-runner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/test-runner.c b/tests/src/test-runner.c
index 836e24fa..aaa3d550 100644
--- a/tests/src/test-runner.c
+++ b/tests/src/test-runner.c
@@ -2152,7 +2152,7 @@ handle_user_get_extra_property (GDBusConnection *connection,
return g_variant_new_string (user->background ? user->background : "");
else if (strcmp (property_name, "HasMessages") == 0)
return g_variant_new_boolean (user->has_messages);
- else if (strcmp (property_name, "XKeyboardLayouts") == 0)
+ else if (strcmp (property_name, "KeyboardLayouts") == 0)
{
if (user->layouts != NULL)
return g_variant_new_strv ((const gchar * const *) user->layouts, -1);
@@ -2207,7 +2207,7 @@ accounts_user_set_hidden (AccountsUser *user, gboolean hidden, gboolean emit_sig
" <interface name='org.freedesktop.DisplayManager.AccountsService'>"
" <property name='BackgroundFile' type='s' access='read'/>"
" <property name='HasMessages' type='b' access='read'/>"
- " <property name='XKeyboardLayouts' type='as' access='read'/>"
+ " <property name='KeyboardLayouts' type='as' access='read'/>"
" </interface>"
"</node>";
g_autoptr(GDBusNodeInfo) user_info = NULL;