From c8ea7c01c2b3a1cfbd8d89716c2cba7667db8617 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Mon, 11 Mar 2019 17:20:59 +0100 Subject: [PATCH] mono-examples: Adapt to latest API syntax --- src/examples/ecore/efl_mono_loop_timer_example.cs | 8 ++++---- 1 file 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 4d38a46..5b5af06 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(); -- 2.7.4