summaryrefslogtreecommitdiff
path: root/apps/csharp/life/src/life_main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/csharp/life/src/life_main.cs')
-rw-r--r--apps/csharp/life/src/life_main.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/csharp/life/src/life_main.cs b/apps/csharp/life/src/life_main.cs
index e59b61d..4dd34dd 100644
--- a/apps/csharp/life/src/life_main.cs
+++ b/apps/csharp/life/src/life_main.cs
@@ -37,11 +37,10 @@ public class LifeWindow
37 37
38 public LifeWindow() 38 public LifeWindow()
39 { 39 {
40 Efl.Ui.Win win = new Efl.Ui.Win(null, (Efl.Ui.Win ewin) => { 40 Efl.Ui.Win win = new Efl.Ui.Win(null);
41 ewin.SetWinType(Efl.Ui.WinType.Basic); 41 win.SetWinType(Efl.Ui.WinType.Basic);
42 ewin.SetText("EFL Life"); 42 win.SetText("EFL Life");
43 ewin.SetAutohide(true); 43 win.SetAutohide(true);
44 });
45 44
46 // when the user clicks "close" on a window there is a request to hide 45 // when the user clicks "close" on a window there is a request to hide
47 ((Efl.Gfx.Entity)win).HideEvt += QuitEvt; 46 ((Efl.Gfx.Entity)win).HideEvt += QuitEvt;