summaryrefslogtreecommitdiff
path: root/src/gpm-engine.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-13 15:36:27 +0300
committerStefano Karapetsas <[email protected]>2015-01-15 11:24:23 +0100
commit68101dd55a11eea9b02d49f34744e987c13255d1 (patch)
tree3a16f5ee4ebd4ba9b7e7ee16b5b0a302bbed0105 /src/gpm-engine.c
parent05bacd93fb9b58082f2d66b5e08d4a4057dcffb2 (diff)
downloadmate-power-manager-68101dd55a11eea9b02d49f34744e987c13255d1.tar.bz2
mate-power-manager-68101dd55a11eea9b02d49f34744e987c13255d1.tar.xz
remove ifdefs, bump upower version requirement
Closes https://github.com/mate-desktop/mate-power-manager/pull/126
Diffstat (limited to 'src/gpm-engine.c')
-rw-r--r--src/gpm-engine.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpm-engine.c b/src/gpm-engine.c
index 56d19e2..f1ae198 100644
--- a/src/gpm-engine.c
+++ b/src/gpm-engine.c
@@ -218,11 +218,9 @@ gpm_engine_get_warning (GpmEngine *engine, UpDevice *device)
warning_type = gpm_engine_get_warning_csr (engine, device);
} else if (kind == UP_DEVICE_KIND_UPS ||
-#if UP_CHECK_VERSION(0,9,5)
kind == UP_DEVICE_KIND_MEDIA_PLAYER ||
kind == UP_DEVICE_KIND_TABLET ||
kind == UP_DEVICE_KIND_COMPUTER ||
-#endif
kind == UP_DEVICE_KIND_PDA) {
warning_type = gpm_engine_get_warning_percentage (engine, device);