gnome-power-manager r2953 - in trunk: . src



Author: rhughes
Date: Wed Sep 10 10:05:29 2008
New Revision: 2953
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2953&view=rev

Log:
2008-09-10  Richard Hughes  <richard hughsie com>

* src/gpm-cell-array.c: (gpm_cell_array_percent_changed):
Correct build failure. Fixes #551582


Modified:
   trunk/ChangeLog
   trunk/src/gpm-cell-array.c

Modified: trunk/src/gpm-cell-array.c
==============================================================================
--- trunk/src/gpm-cell-array.c	(original)
+++ trunk/src/gpm-cell-array.c	Wed Sep 10 10:05:29 2008
@@ -553,7 +553,7 @@
 	/* do we trust the profile enough to make a decision based on time? */
 	if (unit->kind == GPM_CELL_UNIT_KIND_PRIMARY) {
 		accuracy = gpm_profile_get_accuracy_average (cell_array->priv->profile, unit->is_discharging);
-		gpm_warnings_time_is_accurate (warning, (accuracy > GPM_PROFILE_GOOD_TRUST));
+		gpm_warnings_time_is_accurate (cell_array->priv->warnings, (accuracy > GPM_PROFILE_GOOD_TRUST));
 	}
 
 	/* only get a warning state if we are discharging */



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