]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Move LOGIND_RUNNING to login1.h
authorIain Lane <iain.lane@canonical.com>
Tue, 23 Apr 2013 12:26:26 +0000 (13:26 +0100)
committerIain Lane <iain.lane@canonical.com>
Tue, 23 Apr 2013 12:26:26 +0000 (13:26 +0100)
src/login1.h
src/session.h

index 48b8e54c3f28eb282dc9e4bf9950e27d1c26dd0d..13324a903f97eadd4447e62de0674f65135341fe 100644 (file)
@@ -14,6 +14,8 @@
 
 #include <glib-object.h>
 
+#define LOGIND_RUNNING() (access ("/run/systemd/seats/", F_OK) >= 0)
+
 G_BEGIN_DECLS
 
 gchar *login1_get_session_id (void);
index f1f4a46c89770672098b9ad7a0f73941e3307c74..52a6e9e8dd1a53938c34b0e1560299828051cd0f 100644 (file)
@@ -19,8 +19,6 @@
 #include "accounts.h"
 #include "xauthority.h"
 
-#define LOGIND_RUNNING() (access ("/run/systemd/seats/", F_OK) >= 0)
-
 G_BEGIN_DECLS
 
 #define SESSION_TYPE           (session_get_type())