summaryrefslogtreecommitdiff
path: root/src/gpm-prefs-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-prefs-core.c')
-rw-r--r--src/gpm-prefs-core.c6
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;