From e8beb269dffd7957a1faefa9794a6cbc1a23d40e Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 7 May 2014 09:48:44 +0200 Subject: tools: Remove is-docked from up-tool --- tools/up-tool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/up-tool.c b/tools/up-tool.c index 8abd492..69430c9 100644 --- a/tools/up-tool.c +++ b/tools/up-tool.c @@ -123,7 +123,6 @@ up_client_print (UpClient *client) UpDeviceLevel warning_level; gboolean lid_is_closed; gboolean lid_is_present; - gboolean is_docked; char *action; g_object_get (client, @@ -131,14 +130,13 @@ up_client_print (UpClient *client) "on-battery", &on_battery, "lid-is-closed", &lid_is_closed, "lid-is-present", &lid_is_present, - "is-docked", &is_docked, 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"); - g_print (" is-docked: %s\n", is_docked ? "yes" : "no"); + g_print (" is-docked: no (deprecated, always false)\n"); action = up_client_get_critical_action (client); g_print (" critical-action: %s\n", action); g_free (action); -- cgit v1.2.1