aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-11-05 03:30:45 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-11-05 03:30:45 +0100
commit79dc25b7a23c9960ed400071a48c563c0dc6b326 (patch)
tree0180fa34e4396336ec17bf92b74498f304ebe605
parentit works it works ! (diff)
downloadglouglou-79dc25b7a23c9960ed400071a48c563c0dc6b326.tar.xz
glouglou-79dc25b7a23c9960ed400071a48c563c0dc6b326.zip
imcrease speed !
-rw-r--r--data/elife.edc2
-rw-r--r--src/elife.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/elife.edc b/data/elife.edc
index 828704c..b58ef9c 100644
--- a/data/elife.edc
+++ b/data/elife.edc
@@ -9,7 +9,7 @@ collections {
script {
public clock_cb(unused) {
emit("elife:refresh", "☃");
- timer(1, "clock_cb", 1);
+ timer(0.3, "clock_cb", 1);
}
}
diff --git a/src/elife.c b/src/elife.c
index 46f799b..7ebc157 100644
--- a/src/elife.c
+++ b/src/elife.c
@@ -93,7 +93,7 @@ main(void)
evas_object_resize(_G.elife, _G.w, _G.h);
evas_object_show(_G.elife);
- ecore_timer_add(1, timer_cb, _G.elife);
+ ecore_timer_add(0.1, timer_cb, _G.elife);
ecore_evas_callback_resize_set(_G.ee, &resize_cb);