diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-23 01:33:10 -0700 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-23 01:33:10 -0700 |
commit | 4c5c81c6bc16812cb62a53b7257167cddef28a7c (patch) | |
tree | 5340050689948130a567be5c3d0c9a32817c3ff1 /src/gpm-common.h | |
parent | 6ebb90a3029238c6d57fc67fd3ba2d2fbc4065a8 (diff) | |
parent | 247f3aeeffd20e0971641d8bb9ab1337f81991cd (diff) | |
download | mate-power-manager-4c5c81c6bc16812cb62a53b7257167cddef28a7c.tar.bz2 mate-power-manager-4c5c81c6bc16812cb62a53b7257167cddef28a7c.tar.xz |
Merge pull request #61 from lxnay/fix-github-master
Move logind / consolekit detection to runtime
Diffstat (limited to 'src/gpm-common.h')
-rw-r--r-- | src/gpm-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpm-common.h b/src/gpm-common.h index ca4762c..6f712cb 100644 --- a/src/gpm-common.h +++ b/src/gpm-common.h @@ -24,8 +24,12 @@ #include <glib.h> +#include <unistd.h> + G_BEGIN_DECLS +#define LOGIND_RUNNING() (access("/run/systemd/seats/", F_OK) >= 0) + #define GPM_DBUS_SERVICE "org.mate.PowerManager" #define GPM_DBUS_INTERFACE "org.mate.PowerManager" #define GPM_DBUS_INTERFACE_BACKLIGHT "org.mate.PowerManager.Backlight" |