From 909fd6e2c4369020707782e20656069fbb3030d1 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 20 May 2014 23:34:25 +1000 Subject: Found a way to deal with the PACKAGE_* stuff outside of Elm. It's undocumented. --- 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 a0bf4d0..89dda99 100644 --- a/src/extantz/ephysics_demo.c +++ b/src/extantz/ephysics_demo.c @@ -32,7 +32,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) ephysics_body_restitution_set(boundary, 1); ephysics_body_friction_set(boundary, 0); - sprintf(buf, "%s/%s.edj", elm_app_data_dir_get(), EPHYSICS_TEST_THEME); + sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); box1 = eo_add(ELM_OBJ_IMAGE_CLASS, ourGlobals->win, elm_obj_image_file_set(buf, "blue-cube"), evas_obj_size_set(70, 70), @@ -49,7 +49,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) ephysics_body_sleeping_threshold_set(box_body1, 0.1, 0.1); eo_unref(box1); - sprintf(buf, "%s/%s.edj", elm_app_data_dir_get(), EPHYSICS_TEST_THEME); + sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); box2 = eo_add(ELM_OBJ_IMAGE_CLASS, ourGlobals->win, elm_obj_image_file_set(buf, "purple-cube"), evas_obj_size_set(70, 70), -- cgit v1.1