diff options
author | Daniel Juyung Seo <seojuyung2@gmail.com> | 2013-10-05 17:12:11 +0900 |
---|---|---|
committer | Daniel Juyung Seo <seojuyung2@gmail.com> | 2013-10-05 17:12:11 +0900 |
commit | 32fe06cca9ebe18c27863eb5bd3ea69505a105b7 (patch) | |
tree | 71dcc9645c86b4237f7613205b053a609b2920cf /src/lib/elc_fileselector.c | |
parent | 52f31bbc02236b15906cc24f1e515cdb082f1c9f (diff) | |
download | elementary-32fe06cca9ebe18c27863eb5bd3ea69505a105b7.tar.gz |
elc_fileselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Diffstat (limited to 'src/lib/elc_fileselector.c')
-rw-r--r-- | src/lib/elc_fileselector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c index cb963729b..d608c81a1 100644 --- a/src/lib/elc_fileselector.c +++ b/src/lib/elc_fileselector.c @@ -59,7 +59,7 @@ _elm_fileselector_smart_sizing_eval(Eo *obj, void *_pd EINA_UNUSED, va_list *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); elm_coords_finger_size_adjust(1, &minw, 1, &minh); edje_object_size_min_restricted_calc @@ -88,7 +88,7 @@ _elm_fileselector_smart_theme(Eo *obj, void *_pd, va_list *list) char buf[1024]; Elm_Fileselector_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 *ret = va_arg(*list, Eina_Bool *); if (ret) *ret = EINA_FALSE; Eina_Bool int_ret; |