seoz pushed a commit to branch master.

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

commit ac93469e4d410b3e8599b103701e7a414aacb6af
Author: Daniel Juyung Seo <[email protected]>
Date:   Sat Oct 5 17:12:27 2013 +0900

    elc_fileselector_entry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
---
 src/lib/elc_fileselector_entry.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elc_fileselector_entry.c b/src/lib/elc_fileselector_entry.c
index eac61b7..5762b90 100644
--- a/src/lib/elc_fileselector_entry.c
+++ b/src/lib/elc_fileselector_entry.c
@@ -102,7 +102,7 @@ _elm_fileselector_entry_smart_sizing_eval(Eo *obj, void 
*_pd EINA_UNUSED, va_lis
 {
    Evas_Coord minw = -1, minh = -1;
 
-   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_calc(wd->resize_obj, &minw, &minh);
    evas_object_size_hint_min_set(obj, minw, minh);
@@ -188,7 +188,7 @@ _elm_fileselector_entry_smart_theme(Eo *obj, void *_pd, 
va_list *list)
    char buf[1024];
 
    Elm_Fileselector_Entry_Smart_Data *sd = _pd;
-   Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS);
+   ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
 
    Eina_Bool int_ret;
    Eina_Bool *ret = va_arg(*list, Eina_Bool *);

-- 


Reply via email to