rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=3b21d2e23330c58afaab9357c4dffbcd16ab5863

commit 3b21d2e23330c58afaab9357c4dffbcd16ab5863
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Tue Dec 1 16:43:02 2015 +0200

    groupedit: delete '_parts_recalc' baceuse all calculation box doing
    
    Change-Id: Ia820802eeab89d22adc522ef36aea5f9cbbe916a
---
 src/bin/ui/workspace/groupedit.c         | 6 +++---
 src/bin/ui/workspace/groupedit_calc.c    | 6 ------
 src/bin/ui/workspace/groupedit_private.h | 3 ---
 3 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/src/bin/ui/workspace/groupedit.c b/src/bin/ui/workspace/groupedit.c
index 8932d4c..c83b9b2 100644
--- a/src/bin/ui/workspace/groupedit.c
+++ b/src/bin/ui/workspace/groupedit.c
@@ -237,7 +237,6 @@ _groupedit_smart_calculate(Evas_Object *o)
                       priv->con_current_size->h);
 
    priv->manual_calc = false;
-   _parts_recalc(priv);
 
    evas_object_smart_callback_call(o, SIG_CHANGED, (void 
*)priv->con_current_size);
 }
@@ -307,7 +306,8 @@ groupedit_edit_object_recalc_all(Evas_Object *obj)
    WS_GROUPEDIT_DATA_GET(obj, sd);
 
    sd->manual_calc = true;
-   return _parts_recalc(sd);
+   evas_object_smart_changed(sd->obj);
+   return true;
 }
 
 Evas_Object *
@@ -593,7 +593,7 @@ groupedit_part_visible_set(Evas_Object *obj, const char 
*part, Eina_Bool visible
    assert(gp != NULL);
 
    sd->manual_calc = true;
-   _parts_recalc(sd);
+   evas_object_smart_changed(sd->obj);
    return true;
 }
 
diff --git a/src/bin/ui/workspace/groupedit_calc.c 
b/src/bin/ui/workspace/groupedit_calc.c
index 7063533..4421105 100644
--- a/src/bin/ui/workspace/groupedit_calc.c
+++ b/src/bin/ui/workspace/groupedit_calc.c
@@ -795,12 +795,6 @@ _part_calc(Ws_Groupedit_Smart_Data *sd, Groupedit_Part *gp)
 }
 
 Eina_Bool
-_parts_recalc(Ws_Groupedit_Smart_Data *sd __UNUSED__)
-{
-   return false;
-}
-
-Eina_Bool
 _part_update(Ws_Groupedit_Smart_Data *sd, Groupedit_Part *gp)
 {
    Eina_Stringshare *str;
diff --git a/src/bin/ui/workspace/groupedit_private.h 
b/src/bin/ui/workspace/groupedit_private.h
index 2e3bb04..e397c96 100644
--- a/src/bin/ui/workspace/groupedit_private.h
+++ b/src/bin/ui/workspace/groupedit_private.h
@@ -171,9 +171,6 @@ Groupedit_Item *
 _part_item_search(Eina_List *items, const char *item_name);
 
 Eina_Bool
-_parts_recalc(Ws_Groupedit_Smart_Data *sd);
-
-Eina_Bool
 _edit_object_part_add(Ws_Groupedit_Smart_Data *sd, Part_ *part);
 
 Eina_Bool

-- 


Reply via email to