mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-08 11:18:02 +02:00
Revert "lib: Mark lid related functions and properties as deprecated"
This reverts commit 4e962fdc8d.
Undeprecate lid APIs since upower continues to support lid DBus APIs.
This commit is contained in:
parent
37f7086983
commit
eff769c65f
2 changed files with 2 additions and 4 deletions
|
|
@ -479,7 +479,7 @@ up_client_class_init (UpClientClass *klass)
|
|||
"If the laptop lid is closed",
|
||||
NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_DEPRECATED));
|
||||
G_PARAM_READABLE));
|
||||
/**
|
||||
* UpClient:lid-is-present:
|
||||
*
|
||||
|
|
@ -493,7 +493,7 @@ up_client_class_init (UpClientClass *klass)
|
|||
"If a laptop lid is present",
|
||||
NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_DEPRECATED));
|
||||
G_PARAM_READABLE));
|
||||
|
||||
/**
|
||||
* UpClient::device-added:
|
||||
|
|
|
|||
|
|
@ -94,9 +94,7 @@ GPtrArray *up_client_get_devices_finish (UpClient *client,
|
|||
GAsyncResult *res,
|
||||
GError **error);
|
||||
const gchar *up_client_get_daemon_version (UpClient *client);
|
||||
G_DEPRECATED
|
||||
gboolean up_client_get_lid_is_closed (UpClient *client);
|
||||
G_DEPRECATED
|
||||
gboolean up_client_get_lid_is_present (UpClient *client);
|
||||
gboolean up_client_get_on_battery (UpClient *client);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue