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-prefs-core.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-prefs-core.c')
-rw-r--r-- | src/gpm-prefs-core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c index abafc6e..c83fe02 100644 --- a/src/gpm-prefs-core.c +++ b/src/gpm-prefs-core.c @@ -854,13 +854,7 @@ gpm_prefs_init (GpmPrefs *prefs) g_object_unref(proxy); } else { -#if UP_CHECK_VERSION(0,9,2) prefs->priv->has_button_lid = up_client_get_lid_is_present (prefs->priv->client); -#else - g_object_get (prefs->priv->client, - "lid-is-present", &prefs->priv->has_button_lid, - NULL); -#endif } prefs->priv->has_button_suspend = TRUE; |