aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-03-06 04:07:11 -0800
committerapache <apache@e5-web1.enlightenment.org>2019-03-06 04:07:11 -0800
commit1dc997516fdcee4ff0aa47a0f26f9d4a2ded11cd (patch)
tree55d2b79b5547aeb87e6a0da38158f33e97e05173
parentWiki page efl-1.22.0-alpha1 changed with summary [] by Stefan Schmidt (diff)
downloadwww-content-1dc997516fdcee4ff0aa47a0f26f9d4a2ded11cd.tar.gz
Wiki page events.md changed with summary [Adapt to latest EFL# syntax] by Xavi Artigas
-rw-r--r--pages/develop/guides/csharp/core/events.md.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/pages/develop/guides/csharp/core/events.md.txt b/pages/develop/guides/csharp/core/events.md.txt
index 0797d1cfd..1dc7ccb7d 100644
--- a/pages/develop/guides/csharp/core/events.md.txt
+++ b/pages/develop/guides/csharp/core/events.md.txt
@@ -86,10 +86,7 @@ public class Example
mainloop.PollHighEvt += PollCb;
// This timer will control events fired by the main loop
- var timer = new Efl.LoopTimer(mainloop, (Efl.LoopTimer etimer) => {
- // Trigger every 100ms
- etimer.SetInterval(0.1);
- });
+ var timer = new Efl.LoopTimer(mainloop, 0.1);
timer.SetName("Timer");
// To count number of timer triggers
int tick_count = 0;