summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2012-07-12 18:19:42 -0400
committerRay Strode <rstrode@redhat.com>2012-07-13 15:21:10 -0400
commite7fb14382e521f359a92fafaaa1ca84a14241c7b (patch)
tree5b075387d583a4ef8fe1fd6655e3a9ed98d03e42
parent295d0bc42b11a9473a024b9cdca58bdd9197e905 (diff)
downloadgdm-e7fb14382e521f359a92fafaaa1ca84a14241c7b.tar.gz
worker: fix up consolekit code
ck-connector was recently dropped and replaced with raw gdbus calls. It had a small bug in it's OpenSessionWithParameters call that meant it never got the right return value. This commit fixes that.
-rw-r--r--daemon/gdm-session-worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index b9e3a699..96cf87a8 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -281,7 +281,7 @@ open_ck_session (GdmSessionWorker *worker)
goto out;
}
- worker->priv->session_cookie = g_variant_dup_string (reply, NULL);
+ g_variant_get (reply, "(s)", &worker->priv->session_cookie);
g_variant_unref (reply);