From: Xavi Artigas Date: Mon, 11 Mar 2019 16:20:59 +0000 (+0100) Subject: mono-examples: Adapt to latest API syntax X-Git-Tag: submit/tizen/20190318.043110~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8ea7c01c2b3a1cfbd8d89716c2cba7667db8617;p=platform%2Fupstream%2Fefl.git mono-examples: Adapt to latest API syntax --- 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();