elm/layout: remove check for finalize in efl_canvas_group_change impl

this used to be a thing in order to prevent widgets from spamming themselves
with recalcs during construction, but since that's no longer possible we
can remove this and also resolve an issue where legacy widgets failed
to correctly calculate their min size if no text was set

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10043
This commit is contained in:
Mike Blumenkrantz 2019-09-20 09:04:16 -04:00 committed by Marcel Hollerbach
parent af5f37bd46
commit 654e783d28
1 changed files with 0 additions and 1 deletions

View File

@ -1801,7 +1801,6 @@ _elm_layout_efl_canvas_group_change(Eo *obj, Elm_Layout_Data *ld)
{
Efl_Ui_Layout_Data *sd;
if (!efl_finalized_get(obj)) return;
sd = efl_data_scope_safe_get(obj, EFL_UI_LAYOUT_BASE_CLASS);
EINA_SAFETY_ON_NULL_RETURN(sd);
if (sd->frozen) return;