[gdm] Revert "GdmSession: fix signature of Reauthenticated signal handler"



commit d2eb04f5f8f756c5622efd0d1471d059f93d5ff3
Author: Ray Strode <rstrode redhat com>
Date:   Sat Aug 18 09:49:09 2012 -0400

    Revert "GdmSession: fix signature of Reauthenticated signal handler"
    
    This reverts commit 27d14a6ebdb9960bb833a1012f49548b47466fb0.
    
    It's using the service name from the wrong conversation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678057

 daemon/gdm-session.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index d314fc9..e0ceccf 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -876,11 +876,10 @@ on_reauthentication_started_cb (GdmDBusWorker *worker,
 
 static void
 worker_on_reauthenticated (GdmDBusWorker          *worker,
+                           const char             *service_name,
                            GdmSessionConversation *conversation)
 {
         GdmSession *self = conversation->session;
-        const char *service_name = conversation->service_name;
-
         g_debug ("GdmSession: Emitting 'reauthenticated' signal ");
         g_signal_emit (self, signals[REAUTHENTICATED], 0, service_name);
 }



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