Fixed compilation

This commit is contained in:
Pierre Pronchery 2009-09-24 11:20:54 +00:00
parent 0a1c5a50ae
commit 06aa39192f

View File

@ -216,6 +216,8 @@ static int _timeout_tre(int fd, int sensor, envsys_tre_data_t * tre)
#else #else
static gboolean _on_timeout(gpointer data) static gboolean _on_timeout(gpointer data)
{ {
Battery * battery = data;
/* XXX should show uncertain state instead of a full battery */ /* XXX should show uncertain state instead of a full battery */
_battery_set(battery, 100.0); _battery_set(battery, 100.0);
return FALSE; return FALSE;