From: Shinwoo Kim Date: Tue, 20 Mar 2018 06:26:11 +0000 (+0900) Subject: Fix build break on EFL 1.20 X-Git-Tag: accepted/tizen/unified/20180328.010033^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F38%2F173238%2F1;p=platform%2Fcore%2Fuifw%2Fvoice-control-elm.git Fix build break on EFL 1.20 Change-Id: Icfda79cbc20d321b56523149cfb2fd496853af58 --- diff --git a/src/vc_elm_core.c b/src/vc_elm_core.c index 97d09b5..51501fe 100644 --- a/src/vc_elm_core.c +++ b/src/vc_elm_core.c @@ -741,7 +741,7 @@ void _vc_elm_core_load() Evas_Object *_vc_elm_core_get_evas_object(Elm_Object_Item *item) { Elm_Widget_Item_Data *ret; - ret = eo_data_scope_get(item, ELM_WIDGET_ITEM_CLASS); + ret = efl_data_scope_get(item, ELM_WIDGET_ITEM_CLASS); if (NULL != ret) return (Evas_Object *)(ret->view); else diff --git a/src/vc_elm_main.h b/src/vc_elm_main.h index 6f4dbae..6443ee8 100644 --- a/src/vc_elm_main.h +++ b/src/vc_elm_main.h @@ -26,6 +26,9 @@ extern "C" { #pragma GCC system_header #define _GNU_SOURCE +#define EFL_EO_API_SUPPORT +#define EFL_BETA_API_SUPPORT + #include #include #include @@ -47,7 +50,7 @@ static inline Evas_Object *__safe_efl_cast(const Evas_Object *cobj) return helper.obj; } -void *eo_data_scope_get(const Eo *obj, const Eo_Class *klass); +void *efl_data_scope_get(const Eo *obj, const Efl_Class *klass); #ifdef __cplusplus