[gnome-power-manager] We depend on DeviceKit-power 008 now
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-power-manager] We depend on DeviceKit-power 008 now
- Date: Mon, 15 Jun 2009 05:40:10 -0400 (EDT)
commit c7d4f6e673eb778783bfa560416df0856c2bff3f
Author: Richard Hughes <richard hughsie com>
Date: Mon Jun 15 10:34:02 2009 +0100
We depend on DeviceKit-power 008 now
src/gpm-statistics.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index d123195..51fbb34 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1658,13 +1658,8 @@ main (int argc, char *argv[])
last_device = gconf_client_get_string (gconf_client, GPM_CONF_INFO_LAST_DEVICE, NULL);
-#if 0
- /* FIXME: this is only available in DeviceKit 008 */
+ /* has capability to measure wakeups */
ret = dkp_wakeups_has_capability (wakeups);
-#else
- /* can we get wakeup data? */
- ret = TRUE;
-#endif
if (ret) {
GtkTreeIter iter;
gtk_list_store_append (list_store_devices, &iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]