efl_ui_item: remove sizing eval code
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Sun, 28 Jul 2019 15:21:37 +0000 (17:21 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 02:05:22 +0000 (11:05 +0900)
i do not know why this code is there. But the same code is called in
layout itself, additionally this results in way less calls for
calculating the minsize (Not sure why).

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9425

src/lib/elementary/efl_ui_item_private.h

index e6babde..e89076f 100644 (file)
@@ -10,7 +10,6 @@ typedef struct _Efl_Ui_Item_Data
 
    // Boolean Data
    Eina_Bool  selected : 1; /* State for item selected */
-   Eina_Bool  needs_size_calc : 1; /* Flag for Size calculation */
 } Efl_Ui_Item_Data;