[tracker] Fix typo in tracker-power-devicekit.c.



commit 40ff99bb7d9f68317cea1c33e8f384d180db0661
Author: Carlos Garnacho <carlos gnome org>
Date:   Thu Oct 22 14:02:29 2009 +0200

    Fix typo in tracker-power-devicekit.c.
    
    Low battery was being set from the wrong devicekit function.

 src/libtracker-common/tracker-power-devicekit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-common/tracker-power-devicekit.c b/src/libtracker-common/tracker-power-devicekit.c
index 058ea33..83ee59f 100644
--- a/src/libtracker-common/tracker-power-devicekit.c
+++ b/src/libtracker-common/tracker-power-devicekit.c
@@ -164,7 +164,7 @@ tracker_power_client_changed_cb (DkpClient *client, TrackerPower *power)
 	}
 
 	/* get the on-low-battery state */
-	on_low_battery = dkp_client_on_battery (priv->client);
+	on_low_battery = dkp_client_on_low_battery (priv->client);
 	if (on_low_battery != priv->on_low_battery) {
 		priv->on_low_battery = on_low_battery;
 		g_object_notify (G_OBJECT (power), "on-low-battery");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]