aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/tempget.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-06-24 16:19:12 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-06-24 16:19:12 +0000
commitc6a118d73815638b2be8f18d0ca7fc4167728cd8 (patch)
tree089211fe84ad101eaae3d990c2f2f1e6a7d4ecee /src/modules/temperature/tempget.c
parentupdating french translation (diff)
downloadenlightenment-c6a118d73815638b2be8f18d0ca7fc4167728cd8.tar.gz
* e: remove warning due to Ecore API change.
SVN revision: 49833
Diffstat (limited to 'src/modules/temperature/tempget.c')
-rw-r--r--src/modules/temperature/tempget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/temperature/tempget.c b/src/modules/temperature/tempget.c
index ab7a1bf06..4d77a50f0 100644
--- a/src/modules/temperature/tempget.c
+++ b/src/modules/temperature/tempget.c
@@ -32,7 +32,7 @@ static int ptemp = 0;
static void init(void);
static int check(void);
-static int poll_cb(void *data);
+static Eina_Bool poll_cb(void *data);
Eina_List *
temperature_get_bus_files(const char* bus)
@@ -411,7 +411,7 @@ check(void)
return -999;
}
-static int
+static Eina_Bool
poll_cb(void *data)
{
int t;
@@ -445,7 +445,7 @@ poll_cb(void *data)
fflush(stdout);
}
ptemp = t;
- return 1;
+ return ECORE_CALLBACK_RENEW;
}
int