summaryrefslogtreecommitdiff
path: root/reference
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-20 16:28:15 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-20 16:33:33 +0100
commita7c5ff510ec94f4b00ebfcf91c911dc0d3fedbbb (patch)
tree252002adfff4833d7ef6e41697dc08aa27413788 /reference
parentd74a4df9946b69f769cd0ad40d4414c90d19a515 (diff)
Adapt examples to new App API
loop_main has been renamed to app_main.
Diffstat (limited to 'reference')
-rw-r--r--reference/csharp/core/src/core_event.cs2
-rw-r--r--reference/csharp/core/src/core_idler.cs2
-rw-r--r--reference/csharp/core/src/core_poll.cs2
3 files changed, 3 insertions, 3 deletions
diff --git a/reference/csharp/core/src/core_event.cs b/reference/csharp/core/src/core_event.cs
index 385357fb..20f38b7b 100644
--- a/reference/csharp/core/src/core_event.cs
+++ b/reference/csharp/core/src/core_event.cs
@@ -24,7 +24,7 @@ public class Example
24 Efl.All.Init(); 24 Efl.All.Init();
25 25
26 // Retrieve the application's main loop 26 // Retrieve the application's main loop
27 var mainloop = Efl.App.GetLoopMain(); 27 var mainloop = Efl.App.AppMain;
28 mainloop.SetName("Mainloop"); 28 mainloop.SetName("Mainloop");
29 29
30 // This event gets triggered continuously 30 // This event gets triggered continuously
diff --git a/reference/csharp/core/src/core_idler.cs b/reference/csharp/core/src/core_idler.cs
index c25b31f1..85c5f456 100644
--- a/reference/csharp/core/src/core_idler.cs
+++ b/reference/csharp/core/src/core_idler.cs
@@ -20,7 +20,7 @@ public class Example
20 Efl.All.Init(); 20 Efl.All.Init();
21 21
22 // Retrieve the application's main loop 22 // Retrieve the application's main loop
23 var mainloop = Efl.App.GetLoopMain(); 23 var mainloop = Efl.App.AppMain;
24 24
25 // Register to all Idle events 25 // Register to all Idle events
26 mainloop.IdleEnterEvt += (object sender, EventArgs e) => { 26 mainloop.IdleEnterEvt += (object sender, EventArgs e) => {
diff --git a/reference/csharp/core/src/core_poll.cs b/reference/csharp/core/src/core_poll.cs
index 6caf5c3f..6c7c16ab 100644
--- a/reference/csharp/core/src/core_poll.cs
+++ b/reference/csharp/core/src/core_poll.cs
@@ -19,7 +19,7 @@ public class Example
19 Efl.All.Init(); 19 Efl.All.Init();
20 20
21 // Retrieve the application's main loop 21 // Retrieve the application's main loop
22 var mainloop = Efl.App.GetLoopMain(); 22 var mainloop = Efl.App.AppMain;
23 23
24 // Register to all Poll events 24 // Register to all Poll events
25 mainloop.PollLowEvt += (object sender, EventArgs e) => { 25 mainloop.PollLowEvt += (object sender, EventArgs e) => {