From ecc9c240ece4ee3180bd36c728ae2c4a2fcabb65 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Apr 2011 11:41:17 -0400 Subject: [PATCH] registry: Use correct signature for EndSessionResponse It turns out that using the wrong signature here adds a 30 second wait to login/logout, when accessibility is turned on. Thanks to Panu Matilainen for tracking this down. https://bugzilla.gnome.org/show_bug.cgi?id=646403 --- registryd/registry-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registryd/registry-main.c b/registryd/registry-main.c index 442b107..9dded9b 100644 --- a/registryd/registry-main.c +++ b/registryd/registry-main.c @@ -107,7 +107,7 @@ end_session_response (gboolean is_okay, const gchar *reason) reason = ""; ret = g_dbus_proxy_call_sync (client_proxy, "EndSessionResponse", - g_variant_new ("(us)", is_okay, reason), + g_variant_new ("(bs)", is_okay, reason), 0, 1000, NULL, &error); if (!ret) { -- 2.7.4