summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-03-11 17:20:59 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-03-11 17:20:59 +0100
commit2331ae3692507b7f0b49328293579cd6ef8b5909 (patch)
tree5bb6a3ed8047e6277ca0d169b15a4c35b2cc76fa
parentee7f843834e1aeb9d27cea8ef92c48758e56fcc9 (diff)
downloadefl-2331ae3692507b7f0b49328293579cd6ef8b5909.tar.gz
mono-examples: Adapt to latest API syntax
-rw-r--r--src/examples/ecore/efl_mono_loop_timer_example.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/ecore/efl_mono_loop_timer_example.cs b/src/examples/ecore/efl_mono_loop_timer_example.cs
index 4d38a46d5a..5b5af06200 100644
--- a/src/examples/ecore/efl_mono_loop_timer_example.cs
+++ b/src/examples/ecore/efl_mono_loop_timer_example.cs
@@ -18,15 +18,15 @@ class TestMain
Efl.All.Init();
var loop = new Efl.Loop();
- var timer = new Efl.LoopTimer(loop, interval:1.0);
+ var timer = new Efl.LoopTimer(loop, 1.0);
TestMain listener = new TestMain(loop);
Console.WriteLine("Starting MainLoop");
- timer.TickEvt += listener.on_tick;
- timer.TickEvt += listener.another_callback;
- timer.TickEvt -= listener.another_callback;
+ timer.TimerTickEvt += listener.on_tick;
+ timer.TimerTickEvt += listener.another_callback;
+ timer.TimerTickEvt -= listener.another_callback;
loop.Begin();