[gdm] GdmSessionWorker: fix signature of Reauthenticated signal
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] GdmSessionWorker: fix signature of Reauthenticated signal
- Date: Sat, 18 Aug 2012 14:11:16 +0000 (UTC)
commit 00294ddae67288dc4c0796778a36946f437f0b6a
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Mon Aug 13 15:04:44 2012 +0200
GdmSessionWorker: fix signature of Reauthenticated signal
GdmSession expects to receive the service name along with the signal,
but the DBus interface does not include it, and this causes a crash.
https://bugzilla.gnome.org/show_bug.cgi?id=678057
daemon/gdm-session-worker.c | 2 +-
daemon/gdm-session-worker.xml | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index 3066cc1..95ce214 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -2647,7 +2647,7 @@ on_reauthentication_verification_complete (GdmSession *session,
service_name);
gdm_session_reset (session);
- gdm_dbus_worker_emit_reauthenticated (GDM_DBUS_WORKER (worker));
+ gdm_dbus_worker_emit_reauthenticated (GDM_DBUS_WORKER (worker), service_name);
}
static ReauthenticationRequest *
diff --git a/daemon/gdm-session-worker.xml b/daemon/gdm-session-worker.xml
index 97e4945..186844c 100644
--- a/daemon/gdm-session-worker.xml
+++ b/daemon/gdm-session-worker.xml
@@ -78,10 +78,8 @@
<signal name="UsernameChanged">
<arg name="new_username" type="s"/>
</signal>
- <signal name="ServiceUnavailable">
- <arg name="message" type="s"/>
- </signal>
<signal name="Reauthenticated">
+ <arg name="service_name" type="s"/>
</signal>
<signal name="CancelPendingQuery">
</signal>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]