elm_hover.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.

This commit is contained in:
Daniel Juyung Seo 2013-10-05 17:14:35 +09:00
parent d273a5e9a7
commit 326a89298e
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ _elm_hover_smart_sizing_eval(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
if (elm_widget_mirrored_get(obj)) ofs_x = w - (x2 - x) - w2;
else ofs_x = x2 - x;
Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS);
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
evas_object_move(wd->resize_obj, x, y);
evas_object_resize(wd->resize_obj, w, h);
evas_object_size_hint_min_set(sd->offset, ofs_x, y2 - y);