raster pushed a commit to branch master.

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

commit a26c787e2bb5a673981b03e17b832972e2de1a29
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Jul 22 15:10:40 2019 +0100

    Revert "efl_ui_layout: set needs_size_calc flag at constructor"
    
    This reverts commit 98b19244329725c76ba601ea66ad5161841a68b9.
    
    This totally broke elm widget min size calcs, e dialogs... sizing is
    totally broken and unusable as a result. this is a major break and
    needs immediate reverting back to a working state. Sorry Woki. You
    need to test this... elementary_Test out of the box is totally broken
    as all hell not to mention a lot more.
---
 src/lib/elementary/efl_ui_layout.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/lib/elementary/efl_ui_layout.c 
b/src/lib/elementary/efl_ui_layout.c
index 4b4643c72e..1390fc774f 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2445,7 +2445,7 @@ _efl_ui_layout_base_efl_object_constructor(Eo *obj, 
Efl_Ui_Layout_Data *sd)
 }
 
 EOLIAN static Efl_Object*
-_efl_ui_layout_base_efl_object_finalize(Eo *obj, Efl_Ui_Layout_Data *pd)
+_efl_ui_layout_base_efl_object_finalize(Eo *obj, Efl_Ui_Layout_Data *pd 
EINA_UNUSED)
 {
    Eo *eo, *win;
    ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
@@ -2459,8 +2459,6 @@ _efl_ui_layout_base_efl_object_finalize(Eo *obj, 
Efl_Ui_Layout_Data *pd)
    if (efl_file_get(wd->resize_obj) || efl_file_mmap_get(wd->resize_obj))
      efl_file_load(wd->resize_obj);
 
-   pd->needs_size_calc = EINA_TRUE;
-
    return eo;
 }
 

-- 


Reply via email to