summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
86 mainloop.PollHighEvt += PollCb; 86 mainloop.PollHighEvt += PollCb;
87 87
88 // This timer will control events fired by the main loop 88 // This timer will control events fired by the main loop
89 var timer = new Efl.LoopTimer(mainloop, (Efl.LoopTimer etimer) => { 89 var timer = new Efl.LoopTimer(mainloop, 0.1);
90 // Trigger every 100ms
91 etimer.SetInterval(0.1);
92 });
93 timer.SetName("Timer"); 90 timer.SetName("Timer");
94 // To count number of timer triggers 91 // To count number of timer triggers
95 int tick_count = 0; 92 int tick_count = 0;