diff --git a/apps/csharp/life/src/life_board.cs b/apps/csharp/life/src/life_board.cs index cecacc84..7933f5ce 100644 --- a/apps/csharp/life/src/life_board.cs +++ b/apps/csharp/life/src/life_board.cs @@ -143,8 +143,7 @@ public class LifeBoard { if (lifeTimer != null) { - lifeTimer.SetParent(null); - lifeTimer.Dispose(); + lifeTimer.Del(); lifeTimer = null; } else diff --git a/apps/csharp/texteditor/src/texteditor_main.cs b/apps/csharp/texteditor/src/texteditor_main.cs index bb978c52..c3b144cd 100644 --- a/apps/csharp/texteditor/src/texteditor_main.cs +++ b/apps/csharp/texteditor/src/texteditor_main.cs @@ -66,7 +66,7 @@ public class TextEditor : Efl.Csharp.Application popup.ButtonClickedEvent += (object sender, Efl.Ui.AlertPopupButtonClickedEventArgs ea) => { // Dismiss popup when the button is clicked - ((Efl.Ui.AlertPopup)sender).SetParent(null); + ((Efl.Ui.AlertPopup)sender).Del(); }; } 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 popup.SetButton(Efl.Ui.Popup_Alert_Button.Positive, "Ok"); popup.SetSize(new Eina.Size2D(150, 30)); popup.ButtonClickedEvent += (object sender, Efl.Ui.Popup_Alert.ButtonClickedEventArgs e) => { - popup.SetParent(null); - popup.Invalidate(); + popup.Del() }; }