summaryrefslogtreecommitdiff
path: root/unsorted
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-09-09 22:10:43 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-09 22:10:43 +0200
commit5a4c817d167a14a3203f1318bf3744162a4e1464 (patch)
tree2eef1b0c0b63ede666b2e718678d153a5dbe1d9f /unsorted
parent40801d928510c53c2c2e42efe7190b58c97d16de (diff)
mono-examples: Use Del() to dispose of widgets
Diffstat (limited to 'unsorted')
-rw-r--r--unsorted/elementary/efl_ui_unit_converter.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/unsorted/elementary/efl_ui_unit_converter.cs b/unsorted/elementary/efl_ui_unit_converter.cs
index cf268464..38c6c7ac 100644
--- a/unsorted/elementary/efl_ui_unit_converter.cs
+++ b/unsorted/elementary/efl_ui_unit_converter.cs
@@ -24,8 +24,7 @@ public class Example
24 popup.SetButton(Efl.Ui.Popup_Alert_Button.Positive, "Ok"); 24 popup.SetButton(Efl.Ui.Popup_Alert_Button.Positive, "Ok");
25 popup.SetSize(new Eina.Size2D(150, 30)); 25 popup.SetSize(new Eina.Size2D(150, 30));
26 popup.ButtonClickedEvent += (object sender, Efl.Ui.Popup_Alert.ButtonClickedEventArgs e) => { 26 popup.ButtonClickedEvent += (object sender, Efl.Ui.Popup_Alert.ButtonClickedEventArgs e) => {
27 popup.SetParent(null); 27 popup.Del()
28 popup.Invalidate();
29 }; 28 };
30 } 29 }
31 30