summaryrefslogtreecommitdiff
path: root/src/up-daemon.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-05-07 09:27:24 +0200
committerBastien Nocera <hadess@hadess.net>2014-05-07 09:27:24 +0200
commit135339acc197f0d6a92b71c85048c5a7cb6ce9d6 (patch)
treea7fcbd66ffc496fb480c2dc4bcab29707a51dcdc /src/up-daemon.h
parentdbf7eb7e557674a9b888a088f1cae4f36b77e14d (diff)
downloadupower-135339acc197f0d6a92b71c85048c5a7cb6ce9d6.tar.gz
daemon: Deprecate "IsDocked" property
The IsDocked property has been incorrect for a number of laptops for a while, as it thought that laptops with hybrid graphics cards were always docked. The alternative would have been to use the platform/dock_station devices, but those are only exported for ACPI docking stations. Instead, whether an external display is attached (which isn't really docking) should be checked in the same place where the policy depending on the value should be applied, such as gnome-settings-daemon. https://bugs.freedesktop.org/show_bug.cgi?id=36818
Diffstat (limited to 'src/up-daemon.h')
-rw-r--r--src/up-daemon.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/up-daemon.h b/src/up-daemon.h
index ba58a00..2d25bb2 100644
--- a/src/up-daemon.h
+++ b/src/up-daemon.h
@@ -77,8 +77,6 @@ void up_daemon_set_lid_is_closed (UpDaemon *daemon,
gboolean lid_is_closed);
void up_daemon_set_lid_is_present (UpDaemon *daemon,
gboolean lid_is_present);
-void up_daemon_set_is_docked (UpDaemon *daemon,
- gboolean is_docked);
void up_daemon_set_on_battery (UpDaemon *daemon,
gboolean on_battery);
void up_daemon_set_warning_level (UpDaemon *daemon,