tasn pushed a commit to branch master.

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

commit 29c8a846763af3c9ce7ce13c810797bbd799c0e3
Author: Tom Hacohen <t...@stosb.com>
Date:   Tue Jan 12 10:34:22 2016 +0000

    Revert "Edje UI mirroring: Fix UI mirroring for GROUP parts."
    
    The following commit solves it in a better way.
    
    This reverts commit 55b62bbd70e32f5824cbc760bc2f8e49eafa4cdd.
---
 src/lib/edje/edje_calc.c | 22 +---------------------
 1 file changed, 1 insertion(+), 21 deletions(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 76a32ac..614688b 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -3084,23 +3084,6 @@ _edje_table_recalc_apply(Edje *ed EINA_UNUSED,
 }
 
 static void
-_edje_group_recalc_apply(Edje *ed,
-                         Edje_Real_Part *ep,
-                         Edje_Calc_Params *p3 EINA_UNUSED,
-                         Edje_Part_Description_Common *chosen_desc EINA_UNUSED)
-{
-   Edje_Object *obj = ep->typedata.swallow->swallowed_object;
-
-   edje_object_mirrored_set(obj, edje_object_mirrored_get(ed->obj));
-   if (evas_object_smart_need_recalculate_get(obj))
-     {
-        eo_do(obj,
-              evas_obj_smart_need_recalculate_set(0),
-              evas_obj_smart_calculate());
-     }
-}
-
-static void
 _edje_proxy_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, 
Edje_Part_Description_Proxy *chosen_desc, FLOAT_T pos)
 {
    Edje_Real_Part *pp;
@@ -4856,13 +4839,10 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int 
flags, Edje_Calc_Params *sta
              _edje_textblock_recalc_apply(ed, ep, pf, 
(Edje_Part_Description_Text *)chosen_desc);
              break;
 
-           case EDJE_PART_TYPE_GROUP:
-             _edje_group_recalc_apply(ed, ep, pf, chosen_desc);
-             break;
-
            case EDJE_PART_TYPE_EXTERNAL:
            case EDJE_PART_TYPE_RECTANGLE:
            case EDJE_PART_TYPE_SWALLOW:
+           case EDJE_PART_TYPE_GROUP:
              /* Nothing special to do for this type of object. */
              break;
 

-- 


Reply via email to