summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-09-25 10:29:15 +0100
committerTom Hacohen <tom@stosb.com>2014-09-25 10:29:15 +0100
commite96f27da1bb5313e35568d746d04185413225a76 (patch)
tree890f4ffe6ef8cb5bcd5a6d11e0c3524353b8319c
parentf8c74d567417a7837966d633da1963e84438b78c (diff)
Stop using eo_add_custom (deprecated).
-rw-r--r--src/bin/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index d988db1..0331e64 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -87,7 +87,7 @@ _countdown_timer_init(void)
87 } 87 }
88 else 88 else
89 { 89 {
90 ctx.countdown = eo_add_custom(ECORE_TIMER_CLASS, ctx.preview.win, 90 ctx.countdown = eo_add(ECORE_TIMER_CLASS, ctx.preview.win,
91 ecore_obj_timer_constructor(interval, _countdown_timer_tick, NULL)); 91 ecore_obj_timer_constructor(interval, _countdown_timer_tick, NULL));
92 _countdown_timer_pause(); 92 _countdown_timer_pause();
93 eo_unref(ctx.countdown); 93 eo_unref(ctx.countdown);