example: fix after change in eo_do syntax.

This commit is contained in:
Cedric BAIL 2015-02-24 13:45:40 +01:00
parent 1b8772d7d1
commit fbb0371901
2 changed files with 10 additions and 6 deletions

View File

@ -113,7 +113,9 @@ _stop_scene(void *data,
if (ev->button == 1)
{
if (eo_do(d->scene,
Eina_Bool ret;
if (eo_do_ret(d->scene, ret,
evas_3d_scene_pick(ev->canvas.x, ev->canvas.y, &n, &m, &s, &t)))
{
d_angle = 0.0;

View File

@ -242,7 +242,9 @@ _stop_scene(void *data,
if (ev->button == 1)
{
if (eo_do(d->scene,
Eina_Bool ret;
if (eo_do_ret(d->scene, ret,
evas_3d_scene_exist((ev->canvas.x - (d_w / 2)),
(ev->canvas.y - (d_h / 2)),
d->mesh_node)))