void *event_info __UNUSED__)
{
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
- if (wd->frozen) return;
eo_do(data, elm_obj_layout_sizing_eval());
}
break;
}
- if (wd->frozen) goto end;
eo_do(obj, elm_obj_layout_sizing_eval());
-end:
if (ret) *ret = EINA_TRUE;
}
_icon_signal_emit(sd, sub_d, EINA_TRUE);
}
- if (wd->frozen) goto end;
-
eo_do(obj, elm_obj_layout_sizing_eval());
end:
_text_signal_emit(sd, sub_d, !!text);
- if (!wd->frozen)
- eo_do(obj, elm_obj_layout_sizing_eval());
+ eo_do(obj, elm_obj_layout_sizing_eval());
if (_elm_config->access_mode == ELM_ACCESS_MODE_ON &&
wd->can_access && !(sub_d->obj))
sub_d->obj = child;
sd->subs = eina_list_append(sd->subs, sub_d);
- if (wd->frozen) goto end;
eo_do(obj, elm_obj_layout_sizing_eval());
-end:
if (ret) *ret = EINA_TRUE;
}
sub_d->obj = child;
sd->subs = eina_list_prepend(sd->subs, sub_d);
- if (wd->frozen) goto end;;
eo_do(obj, elm_obj_layout_sizing_eval());
-end:
if (ret) *ret = EINA_TRUE;
}
evas_object_event_callback_add
((Evas_Object *)reference, EVAS_CALLBACK_DEL, _box_reference_del, sub_d);
- if (wd->frozen) goto end;
eo_do(obj, elm_obj_layout_sizing_eval());
-end:
if (ret) *ret = EINA_TRUE;
}
sub_d->p.box.pos = pos;
sd->subs = eina_list_append(sd->subs, sub_d);
- if (wd->frozen) goto end;
eo_do(obj, elm_obj_layout_sizing_eval());
-end:
if (ret) *ret = EINA_TRUE;
}
sub_d->p.table.rowspan = rowspan;
sd->subs = eina_list_append(sd->subs, sub_d);
- if (wd->frozen) goto end;
eo_do(obj, elm_obj_layout_sizing_eval());
-end:
if (ret) *ret = EINA_TRUE;
}
_elm_layout_smart_sizing_eval(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
Elm_Layout_Smart_Data *sd = _pd;
-
+ if (sd->frozen) return;
if (sd->needs_size_calc) return;
sd->needs_size_calc = EINA_TRUE;
int int_ret = 1;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
+ ELM_LAYOUT_DATA_GET(obj, sd);
- if ((wd->frozen)++ != 0)
+ if ((sd->frozen)++ != 0)
{
- int_ret = wd->frozen;
+ int_ret = sd->frozen;
goto end;
}
int int_ret = 0;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
+ ELM_LAYOUT_DATA_GET(obj, sd);
- if (--(wd->frozen) != 0)
+ if (--(sd->frozen) != 0)
{
- int_ret = wd->frozen;
+ int_ret = sd->frozen;
goto end;
}