summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-22 21:24:13 -0500
committerSteve Zesch <[email protected]>2012-11-22 21:24:13 -0500
commit4e4fac818bda769a9cdbafe2d88a78c764044b53 (patch)
treeee2343d1f07f29c845f1c1099fa9d5eaa53d3028 /src
parentde6402cb66f3eecfbb4aa92155f2cec7bc45225a (diff)
parent0415b57493898c5defa2719d67115f8ff2392904 (diff)
downloadmate-power-manager-4e4fac818bda769a9cdbafe2d88a78c764044b53.tar.bz2
mate-power-manager-4e4fac818bda769a9cdbafe2d88a78c764044b53.tar.xz
Merge branch 'master' of github.com:mate-desktop/mate-power-manager
Diffstat (limited to 'src')
-rw-r--r--src/gpm-manager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index c6f4d79..f1be5d8 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -100,8 +100,10 @@ struct GpmManagerPrivate
NotifyNotification *notification_warning_low;
NotifyNotification *notification_discharging;
NotifyNotification *notification_fully_charged;
- gint32 systemd_inhibit;
- GDBusProxy *systemd_inhibit_proxy;
+#ifdef WITH_SYSTEMD_INHIBIT
+ gint32 systemd_inhibit;
+ GDBusProxy *systemd_inhibit_proxy;
+#endif
};
typedef enum {