diff options
author | Ray Strode <rstrode@redhat.com> | 2012-03-19 12:33:25 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2012-03-19 12:33:25 -0400 |
commit | c42a0b4f17b81b8f78494d15872e54df589cd5ec (patch) | |
tree | 8719d081e1e940467f3ab770e68514ebe78a95c1 /utils | |
parent | abd563e068b6fd7f6f73ca86b8d451286cbe3ca4 (diff) | |
download | gdm-c42a0b4f17b81b8f78494d15872e54df589cd5ec.tar.gz |
user-switching: fix seat id confusion
There's a few places in the code that was hardcoding consolekit
paths still.
This commit does some small changes to make that more systemd
compatible.
https://bugzilla.gnome.org/show_bug.cgi?id=655380
Diffstat (limited to 'utils')
-rw-r--r-- | utils/gdmflexiserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c index 423a8373..4e07413a 100644 --- a/utils/gdmflexiserver.c +++ b/utils/gdmflexiserver.c @@ -688,7 +688,7 @@ goto_login_session_for_ck (DBusConnection *connection, } } - if (! ret) { + if (! ret && g_strcmp0 (seat_id, "/org/freedesktop/ConsoleKit/Seat1") == 0) { res = create_transient_display (connection, error); if (res) { ret = TRUE; @@ -878,7 +878,7 @@ goto_login_session_for_systemd (DBusConnection *connection, } } - if (! ret) { + if (! ret && g_strcmp0 (seat_id, "seat0") == 0) { res = create_transient_display (connection, error); if (res) { ret = TRUE; |