seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=43be921dc38df1ea13508ff58432ca2b7b430cab

commit 43be921dc38df1ea13508ff58432ca2b7b430cab
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Sat Oct 5 17:14:35 2013 +0900

    elm_hover.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
---
 src/lib/elm_hover.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c
index 783dca9..76ef798 100644
--- a/src/lib/elm_hover.c
+++ b/src/lib/elm_hover.c
@@ -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);

-- 


Reply via email to