diff options
author | Monsta <[email protected]> | 2015-01-13 15:36:27 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-01-15 11:24:23 +0100 |
commit | 68101dd55a11eea9b02d49f34744e987c13255d1 (patch) | |
tree | 3a16f5ee4ebd4ba9b7e7ee16b5b0a302bbed0105 /src/gpm-tray-icon.c | |
parent | 05bacd93fb9b58082f2d66b5e08d4a4057dcffb2 (diff) | |
download | mate-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-tray-icon.c')
-rw-r--r-- | src/gpm-tray-icon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c index ad44f83..fa7f5da 100644 --- a/src/gpm-tray-icon.c +++ b/src/gpm-tray-icon.c @@ -304,11 +304,9 @@ gpm_tray_icon_create_menu (GpmTrayIcon *icon, guint32 timestamp) dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_KEYBOARD); dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_PDA); dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_PHONE); -#if UP_CHECK_VERSION(0,9,5) dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_MEDIA_PLAYER); dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_TABLET); dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_COMPUTER); -#endif g_ptr_array_unref (array); /* skip for things like live-cd's and GDM */ |