mono-examples: Adapt to latest API syntax
authorXavi Artigas <xavierartigas@yahoo.es>
Mon, 11 Mar 2019 16:20:59 +0000 (17:20 +0100)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 15 Mar 2019 04:23:19 +0000 (13:23 +0900)
src/examples/ecore/efl_mono_loop_timer_example.cs

index 4d38a46..5b5af06 100644 (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();