diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-10 12:10:09 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 10:42:55 +0200 |
commit | bd7af247f042c41ea8e664e71084fac562045267 (patch) | |
tree | 1ffde86036b546203538f426d13381fb60e2e91b /tools | |
parent | ababfa2aafd939f3cc478738844530b7343706c3 (diff) | |
download | upower-bd7af247f042c41ea8e664e71084fac562045267.tar.gz |
tools: Remove use of deprecated features
Diffstat (limited to 'tools')
-rw-r--r-- | tools/up-tool.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/up-tool.c b/tools/up-tool.c index ad4015e..665ffc6 100644 --- a/tools/up-tool.c +++ b/tools/up-tool.c @@ -119,10 +119,6 @@ static void up_client_print (UpClient *client) { gchar *daemon_version; -#ifdef ENABLE_DEPRECATED - gboolean can_suspend; - gboolean can_hibernate; -#endif gboolean on_battery; gboolean on_low_battery; gboolean lid_is_closed; @@ -131,10 +127,6 @@ up_client_print (UpClient *client) g_object_get (client, "daemon-version", &daemon_version, -#ifdef ENABLE_DEPRECATED - "can-suspend", &can_suspend, - "can-hibernate", &can_hibernate, -#endif "on-battery", &on_battery, "on-low_battery", &on_low_battery, "lid-is-closed", &lid_is_closed, @@ -143,10 +135,6 @@ up_client_print (UpClient *client) NULL); g_print (" daemon-version: %s\n", daemon_version); -#ifdef ENABLE_DEPRECATED - g_print (" can-suspend: %s\n", can_suspend ? "yes" : "no"); - g_print (" can-hibernate: %s\n", can_hibernate ? "yes" : "no"); -#endif g_print (" on-battery: %s\n", on_battery ? "yes" : "no"); g_print (" on-low-battery: %s\n", on_low_battery ? "yes" : "no"); g_print (" lid-is-closed: %s\n", lid_is_closed ? "yes" : "no"); |