cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a8b7833a4833ac17a417be41167a2284ace85022

commit a8b7833a4833ac17a417be41167a2284ace85022
Author: Lauro Moura <lauromo...@expertisesolutions.com.br>
Date:   Fri May 25 10:01:06 2018 -0700

    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 <ced...@osg.samsung.com>
---
 src/bin/eolian_mono/eolian/mono/klass.hh | 2 +-
 src/bindings/mono/eo_mono/iwrapper.cs    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh 
b/src/bin/eolian_mono/eolian/mono/klass.hh
index c25b1d8e34..ce90b4a96e 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -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"
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs 
b/src/bindings/mono/eo_mono/iwrapper.cs
index d25ffec625..8e15b760cc 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -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;
     }

-- 


Reply via email to