lib: Mark device refresh function as deprecated

As the daemon API will soon be removed.

See https://gitlab.freedesktop.org/upower/upower/-/merge_requests/66
This commit is contained in:
Bastien Nocera 2021-08-19 18:52:51 +02:00
parent 4e962fdc8d
commit bd59723fb8

View file

@ -69,6 +69,7 @@ UpDevice *up_device_new (void);
gchar *up_device_to_text (UpDevice *device);
/* sync versions */
G_DEPRECATED
gboolean up_device_refresh_sync (UpDevice *device,
GCancellable *cancellable,
GError **error);