summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@gmail.com>2019-01-31 16:38:17 -0200
committerLauro Moura <lauromoura@gmail.com>2019-01-31 16:39:55 -0200
commit07792a287af594ffec38e8ae0eae20512122bfb2 (patch)
tree8bb56e3b93a65fbd7c27fdc3b5b9b3fb9480f510
parente0e1f3161df50f6f2fc697fa0e621935b24cc0a4 (diff)
examples: Changes after optional parametersdevs/lauromoura/csharp_constructors
Summary: After a new iteration of D7789, constructor parameters were split among required and optionals. This patch depends on making some Efl.Ui.Win parameters optional. Reviewers: segfaultxavi Differential Revision: https://phab.enlightenment.org/D7851
-rw-r--r--apps/csharp/life/src/life_main.cs2
-rw-r--r--apps/csharp/texteditor/src/texteditor_main.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/csharp/life/src/life_main.cs b/apps/csharp/life/src/life_main.cs
index 11e2b816..07dd43ab 100644
--- a/apps/csharp/life/src/life_main.cs
+++ b/apps/csharp/life/src/life_main.cs
@@ -37,7 +37,7 @@ public class LifeWindow
37 37
38 public LifeWindow() 38 public LifeWindow()
39 { 39 {
40 Efl.Ui.Win win = new Efl.Ui.Win(null, null, Efl.Ui.WinType.Basic); 40 Efl.Ui.Win win = new Efl.Ui.Win(parent: null, winName: "Life", winType: Efl.Ui.WinType.Basic);
41 win.SetText("EFL Life"); 41 win.SetText("EFL Life");
42 win.SetAutohide(true); 42 win.SetAutohide(true);
43 43
diff --git a/apps/csharp/texteditor/src/texteditor_main.cs b/apps/csharp/texteditor/src/texteditor_main.cs
index 6f52e6b1..9793a5bc 100644
--- a/apps/csharp/texteditor/src/texteditor_main.cs
+++ b/apps/csharp/texteditor/src/texteditor_main.cs
@@ -153,7 +153,7 @@ public class TextEditor
153 public TextEditor() 153 public TextEditor()
154 { 154 {
155 // Create a window and initialize it 155 // Create a window and initialize it
156 win = new Efl.Ui.Win(Efl.App.AppMain); 156 win = new Efl.Ui.Win(parent: Efl.App.AppMain);
157 win.SetText("Text Editor"); 157 win.SetText("Text Editor");
158 win.SetAutohide(true); 158 win.SetAutohide(true);
159 win.HideEvt += GUIQuitCb; 159 win.HideEvt += GUIQuitCb;