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



Author: rhughes
Date: Thu Aug 14 19:32:04 2008
New Revision: 2882
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2882&view=rev

Log:
2008-08-14  Richard Hughes  <richard hughsie com>

* src/gpm-cell-array.c: (gpm_cell_percent_changed_cb):
The callback passes a gfloat, not a guint. Fixes #547766


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	Thu Aug 14 19:32:04 2008
@@ -592,10 +592,10 @@
  * gpm_cell_percent_changed_cb:
  */
 static void
-gpm_cell_percent_changed_cb (GpmCell *cell, guint percent, GpmCellArray *cell_array)
+gpm_cell_percent_changed_cb (GpmCell *cell, gfloat percent, GpmCellArray *cell_array)
 {
 	GpmCellUnit *unit;
-	guint old_percent;
+	gfloat old_percent;
 
 	g_return_if_fail (GPM_IS_CELL_ARRAY (cell_array));
 



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