mono-examples: Adapt to latest API syntax

This commit is contained in:
Xavi Artigas 2019-03-11 17:20:59 +01:00
parent ee7f843834
commit 2331ae3692
1 changed files with 4 additions and 4 deletions

View File

@ -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();