aboutsummaryrefslogtreecommitdiffstats
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
parentcsharp examples: Adapt to new classes syntax (diff)
downloadexamples-a7c5ff510ec94f4b00ebfcf91c911dc0d3fedbbb.tar.gz
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
Efl.All.Init();
// Retrieve the application's main loop
- var mainloop = Efl.App.GetLoopMain();
+ var mainloop = Efl.App.AppMain;
mainloop.SetName("Mainloop");
// 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
Efl.All.Init();
// Retrieve the application's main loop
- var mainloop = Efl.App.GetLoopMain();
+ var mainloop = Efl.App.AppMain;
// Register to all Idle events
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
Efl.All.Init();
// Retrieve the application's main loop
- var mainloop = Efl.App.GetLoopMain();
+ var mainloop = Efl.App.AppMain;
// Register to all Poll events
mainloop.PollLowEvt += (object sender, EventArgs e) => {