From d525e7e7a38bf4824e44a2bdc3e14175933a8588 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 11 Jun 2014 20:09:33 +1000 Subject: Update to post release API change. So much for stable API to collaborate with. sigh --- src/extantz/ephysics_demo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extantz/ephysics_demo.c') diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c index a86cad2..23bc125 100644 --- a/src/extantz/ephysics_demo.c +++ b/src/extantz/ephysics_demo.c @@ -32,7 +32,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) ephysics_body_friction_set(boundary, 0); sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); - box1 = eo_add(ELM_OBJ_IMAGE_CLASS, ourGlobals->win, + box1 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, elm_obj_image_file_set(buf, "blue-cube"), evas_obj_size_set(70, 70), evas_obj_position_set(ourGlobals->win_w / 2 - 80, ourGlobals->win_h - 200), @@ -49,7 +49,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) eo_unref(box1); sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); - box2 = eo_add(ELM_OBJ_IMAGE_CLASS, ourGlobals->win, + box2 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, elm_obj_image_file_set(buf, "purple-cube"), evas_obj_size_set(70, 70), evas_obj_position_set(ourGlobals->win_w / 2 + 10, ourGlobals->win_h - 200), -- cgit v1.1