seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=9ff33d9882484c5b21e540a4c2b1ecdb9decc466
commit 9ff33d9882484c5b21e540a4c2b1ecdb9decc466 Author: Daniel Juyung Seo <seojuyu...@gmail.com> Date: Sat Oct 5 17:14:03 2013 +0900 elm_dayselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. --- src/lib/elm_dayselector.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_dayselector.c b/src/lib/elm_dayselector.c index 0190050..fca7410 100644 --- a/src/lib/elm_dayselector.c +++ b/src/lib/elm_dayselector.c @@ -34,8 +34,7 @@ static void _elm_dayselector_smart_sizing_eval(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED) { Evas_Coord min_w = -1, min_h = -1; - - Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS); + ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); elm_coords_finger_size_adjust(ELM_DAYSELECTOR_MAX, &min_w, 1, &min_h); edje_object_size_min_restricted_calc @@ -532,7 +531,7 @@ static void _week_start_set(Eo *obj, void *_pd, va_list *list) { Elm_Dayselector_Day day = va_arg(*list, Elm_Dayselector_Day); - Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS); + ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); Eina_List *l; char buf[1024]; Elm_Dayselector_Item *it; --