summaryrefslogtreecommitdiff
path: root/reference/csharp/core/src/core_idler.cs
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-28 16:03:49 +0900
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-28 16:03:49 +0900
commit1d5a5322dfc5ad67c9d3c338d0622d736ade1554 (patch)
treeaa6e46545f216be92d97918b985d053c6c701b86 /reference/csharp/core/src/core_idler.cs
parent500049f1eb376dbd0b07a3688546c4f11a567d6b (diff)
efl-mono: Fix examples based on new D7789
Diffstat (limited to 'reference/csharp/core/src/core_idler.cs')
-rw-r--r--reference/csharp/core/src/core_idler.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/reference/csharp/core/src/core_idler.cs b/reference/csharp/core/src/core_idler.cs
index e8853e5..7e27279 100644
--- a/reference/csharp/core/src/core_idler.cs
+++ b/reference/csharp/core/src/core_idler.cs
@@ -34,10 +34,7 @@ public class Example
34 }; 34 };
35 35
36 // Use a timer to exit the application 36 // Use a timer to exit the application
37 var timer = new Efl.LoopTimer(mainloop, (Efl.LoopTimer etimer) => { 37 var timer = new Efl.LoopTimer(mainloop, 0.01);
38 // Trigger after 10ms
39 etimer.SetInterval(0.01);
40 });
41 timer.TickEvt += (object sender, EventArgs e) => { 38 timer.TickEvt += (object sender, EventArgs e) => {
42 Console.WriteLine("TIMER: timer callback called, exiting."); 39 Console.WriteLine("TIMER: timer callback called, exiting.");
43 mainloop.Quit(new Eina.Value(0)); 40 mainloop.Quit(new Eina.Value(0));