q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c562b3858858b6443049dd3150bd3c3be76c9bb1
commit c562b3858858b6443049dd3150bd3c3be76c9bb1 Author: Daniel Kolesa <[email protected]> Date: Fri Aug 22 17:01:36 2014 +0100 eolian: properly get the legacy attribute of a method/property --- src/bin/eolian/common_funcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/eolian/common_funcs.c b/src/bin/eolian/common_funcs.c index 13d5ffc..1e25699 100644 --- a/src/bin/eolian/common_funcs.c +++ b/src/bin/eolian/common_funcs.c @@ -81,12 +81,12 @@ _class_func_env_create(const Eolian_Class *class, const char *funcname, Eolian_F suffix = "_get"; legacy = eolian_function_legacy_get(funcid, ftype); } - if (ftype == EOLIAN_PROP_SET) + else if (ftype == EOLIAN_PROP_SET) { suffix = "_set"; legacy = eolian_function_legacy_get(funcid, ftype); } - if (!legacy) legacy = eolian_function_legacy_get(funcid, EOLIAN_METHOD); + else legacy = eolian_function_legacy_get(funcid, EOLIAN_METHOD); _eolian_class_vars tmp_env; _class_env_create(class, NULL, &tmp_env); --
