forked from enlightenment/efl
elc_player.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
This commit is contained in:
parent
13be068cf8
commit
fb48af25e5
|
@ -196,8 +196,7 @@ static void
|
|||
_elm_player_smart_sizing_eval(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
|
||||
{
|
||||
Evas_Coord w, h;
|
||||
|
||||
Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS);
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
|
||||
|
||||
edje_object_size_min_get(wd->resize_obj, &w, &h);
|
||||
edje_object_size_min_restricted_calc
|
||||
|
|
Loading…
Reference in New Issue