summaryrefslogtreecommitdiff
path: root/tools/up-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/up-tool.c')
-rw-r--r--tools/up-tool.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/up-tool.c b/tools/up-tool.c
index 724e468..f3f90b6 100644
--- a/tools/up-tool.c
+++ b/tools/up-tool.c
@@ -120,21 +120,15 @@ up_client_print (UpClient *client)
{
gchar *daemon_version;
gboolean on_battery;
- gboolean lid_is_closed;
- gboolean lid_is_present;
char *action;
g_object_get (client,
"daemon-version", &daemon_version,
"on-battery", &on_battery,
- "lid-is-closed", &lid_is_closed,
- "lid-is-present", &lid_is_present,
NULL);
g_print (" daemon-version: %s\n", daemon_version);
g_print (" on-battery: %s\n", on_battery ? "yes" : "no");
- g_print (" lid-is-closed: %s\n", lid_is_closed ? "yes" : "no");
- g_print (" lid-is-present: %s\n", lid_is_present ? "yes" : "no");
action = up_client_get_critical_action (client);
g_print (" critical-action: %s\n", action);
g_free (action);