efl_mono: Fixes after efl_part/del changes.

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Lauro Moura 2018-05-07 17:26:39 -03:00 committed by Cedric BAIL
parent bff5c37c1b
commit f510d536a4
3 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,7 @@ struct part_definition_generator
<< scope_tab << "{\n"
<< scope_tab << scope_tab << "get\n"
<< scope_tab << scope_tab << "{\n"
<< scope_tab << scope_tab << scope_tab << "efl.IObject obj = efl_part(raw_handle, \"" << part.name << "\");\n"
<< scope_tab << scope_tab << scope_tab << "efl.IObject obj = efl_part_get(raw_handle, \"" << part.name << "\");\n"
<< scope_tab << scope_tab << scope_tab << "return " << part_klass_name << ".static_cast(obj);\n"
<< scope_tab << scope_tab << "}\n"
<< scope_tab << "}\n"

View File

@ -25,7 +25,7 @@ public class Example
popup.SetSize(new eina.Size2D(150, 30));
popup.ButtonClickedEvt += (object sender, efl.ui.Popup_Alert.ButtonClickedEvt_Args e) => {
popup.SetParent(null);
popup.Del();
popup.Invalidate();
};
}

View File

@ -3,6 +3,8 @@
#include "config.h"
#endif
#define EFL_PART_PROTECTED
#include <Ecore.h>
#include <Eo.h>