diff options
author | Richard Hughes <richard@hughsie.com> | 2013-02-12 11:17:50 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-02-12 11:18:31 +0000 |
commit | 8bbf566dc8a80d129e202de619fe9da6f2e8b80b (patch) | |
tree | a98f365bd3d071be12788183798a0a883c6f3b15 /src/up-backend.h | |
parent | 372c2f8d2922add987683a24b5d69902e05e2f97 (diff) | |
download | upower-8bbf566dc8a80d129e202de619fe9da6f2e8b80b.tar.gz |
Also deprecate running the powersave scripts
Over the years we've moved all the quirks to the kernel (and fixed most of the
issues properly) so on Fedora we've not actually been shipping any rules in
pm-utils for a couple of releaes now.
Dropping this functionality allows us to finally drop the pm-utils dep for upower.
Diffstat (limited to 'src/up-backend.h')
-rw-r--r-- | src/up-backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/up-backend.h b/src/up-backend.h index 2554453..c380a74 100644 --- a/src/up-backend.h +++ b/src/up-backend.h @@ -78,8 +78,10 @@ gfloat up_backend_get_used_swap (UpBackend *backend); const gchar *up_backend_get_suspend_command (UpBackend *backend); const gchar *up_backend_get_hibernate_command (UpBackend *backend); #endif +#ifdef ENABLE_DEPRECATED const gchar *up_backend_get_powersave_command (UpBackend *backend, gboolean powersave); +#endif #ifdef ENABLE_DEPRECATED gboolean up_backend_emits_resuming (UpBackend *backend); #endif |