forked from enlightenment/efl
efl_mono: Fixes after efl_part/del changes.
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
bff5c37c1b
commit
f510d536a4
|
@ -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"
|
||||
|
|
|
@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define EFL_PART_PROTECTED
|
||||
|
||||
#include <Ecore.h>
|
||||
#include <Eo.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue