[at-spi2-core] registry: Use correct signature for EndSessionResponse



commit ecc9c240ece4ee3180bd36c728ae2c4a2fcabb65
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Apr 1 11:41:17 2011 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]