remove redundant code.

it was for compatible for enventor v0.5.0 release.
now we are on development stage.
This commit is contained in:
ChunEon Park 2015-03-02 14:49:51 +09:00
parent acb713f39d
commit 94447b0ccc
3 changed files with 1 additions and 15 deletions

View File

@ -3,10 +3,3 @@ AC_DEFUN([EFL_ENABLE_EO_API_SUPPORT],
[
AC_DEFINE([EFL_EO_API_SUPPORT], [1], [Enable access to unstable EFL Eo API])
])
AC_DEFUN([EFL_ENABLE_EO_LATEST],
[
AC_DEFINE([EO_LATEST], [0], [Enable access to unstable EFL Eo Latest API])
])

View File

@ -300,12 +300,9 @@ view_obj_idler_cb(void *data)
elm_object_part_content_set(vd->base, "elm.swallow.content",
vd->layout);
elm_object_content_set(vd->scroller, vd->base);
#if EO_LATEST
Eina_Bool ret;
if (eo_do_ret(vd->enventor, ret, enventor_obj_dummy_swallow_get()))
#else
if (eo_do(vd->enventor, enventor_obj_dummy_swallow_get()))
#endif
dummy_obj_new(vd->layout);
vd->idler = NULL;

View File

@ -606,12 +606,8 @@ enventor_object_add(Evas_Object *parent)
EAPI Eina_Bool
enventor_object_file_set(Evas_Object *obj, const char *file)
{
#if EO_LATEST
Eina_Bool ret;
return eo_do_ret(obj, ret, efl_file_set(file, NULL));
#else
return eo_do(obj, efl_file_set(file, NULL));
#endif
}
#include "enventor_object.eo.c"