summaryrefslogtreecommitdiffstats
path: root/tdm/backend/client.c
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-02-04 02:46:39 +0100
committerSlávek Banko <[email protected]>2014-02-04 02:46:39 +0100
commit1f3832a1368de214e95a38dd391367f8ae2456cb (patch)
treeac2c0e68c7a1393b124528054bd11df69e32381b /tdm/backend/client.c
parent6275375b6aa17c6da78ab6486a8c930e9fd595f5 (diff)
downloadtdebase-1f3832a1368de214e95a38dd391367f8ae2456cb.tar.gz
tdebase-1f3832a1368de214e95a38dd391367f8ae2456cb.zip
Removed unnecessary dependency on dbus-tqt and dbus-1-tqt
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 );