forked from enlightenment/efl
efl_mono: Fix efl_add_internal_end call.
Summary: It was missing setting the 'is_ref' parameter to 1 to mirror the internal_start call. Test Plan: make check Reviewers: cedric Subscribers: #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6193 Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
7d4c5f5d7c
commit
a8b7833a48
|
@ -201,7 +201,7 @@ struct klass
|
|||
<< scope_tab << scope_tab << "if (init_cb != null) {\n"
|
||||
<< scope_tab << scope_tab << scope_tab << "init_cb(this);\n"
|
||||
<< scope_tab << scope_tab << "}\n"
|
||||
<< scope_tab << scope_tab << "handle = efl.eo.Globals._efl_add_end(handle, 0, 0);\n" // replace handle with the actual final handle
|
||||
<< scope_tab << scope_tab << "handle = efl.eo.Globals._efl_add_end(handle, 1, 0);\n" // replace handle with the actual final handle
|
||||
<< scope_tab << scope_tab << "register_event_proxies();\n"
|
||||
<< scope_tab << scope_tab << "eina.Error.RaiseIfOccurred();\n"
|
||||
<< scope_tab << "}\n"
|
||||
|
|
|
@ -106,7 +106,7 @@ public class Globals {
|
|||
|
||||
public static IntPtr instantiate_end(IntPtr eo) {
|
||||
eina.Log.Debug("efl_add_internal_start returned");
|
||||
eo = efl.eo.Globals._efl_add_end(eo, 0, 0);
|
||||
eo = efl.eo.Globals._efl_add_end(eo, 1, 0);
|
||||
eina.Log.Debug("efl_add_end returned");
|
||||
return eo;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue