summaryrefslogtreecommitdiffstats
path: root/tdm/backend/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/backend/client.c')
-rw-r--r--tdm/backend/client.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tdm/backend/client.c b/tdm/backend/client.c
index d6ed5a1da..c9948ebf9 100644
--- a/tdm/backend/client.c
+++ b/tdm/backend/client.c
@@ -95,10 +95,6 @@ extern int loginsuccess( const char *User, const char *Host, const char *Tty, ch
#define log_to_audit_system(l,h,d,s) do { ; } while (0)
#endif
-#ifdef WITH_CONSOLE_KIT
-#include "consolekit.h"
-#endif
-
/*
* Session data, mostly what struct verify_info was for
*/
@@ -1315,11 +1311,6 @@ StartClient()
env = setEnv ( env, "XDG_SESSION_COOKIE", ck_session_cookie );
}
#endif
-#ifdef WITH_CONSOLE_KIT
- if (ck_session_cookie != NULL) {
- env = setEnv ( env, "XDG_SESSION_COOKIE", ck_session_cookie );
- }
-#endif
userEnviron = inheritEnv( env, envvars );
env = systemEnv( p->pw_name );
systemEnviron = setEnv( env, "HOME", p->pw_dir );