diff options
Diffstat (limited to 'src/LuaSL/LuaSL_test.c')
-rw-r--r-- | src/LuaSL/LuaSL_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LuaSL/LuaSL_test.c b/src/LuaSL/LuaSL_test.c index 58d6225..27b9626 100644 --- a/src/LuaSL/LuaSL_test.c +++ b/src/LuaSL/LuaSL_test.c | |||
@@ -147,7 +147,7 @@ static Eina_Bool _add(void *data, int type __UNUSED__, Ecore_Con_Event_Server_Ad | |||
147 | 147 | ||
148 | ourGlobals->server = ev->server; | 148 | ourGlobals->server = ev->server; |
149 | gettimeofday(&startTime, NULL); | 149 | gettimeofday(&startTime, NULL); |
150 | snprintf(buf, sizeof(buf), "%s/media/Test sim/objects", PACKAGE_DATA_DIR); | 150 | snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); |
151 | eina_file_dir_list(buf, EINA_TRUE, dirList_compile, ourGlobals); | 151 | eina_file_dir_list(buf, EINA_TRUE, dirList_compile, ourGlobals); |
152 | // Wait awhile, then start sending events for testing. | 152 | // Wait awhile, then start sending events for testing. |
153 | ecore_timer_add(0.5, _timer_cb, ourGlobals); | 153 | ecore_timer_add(0.5, _timer_cb, ourGlobals); |
@@ -392,7 +392,7 @@ int main(int argc, char **argv) | |||
392 | evas_object_focus_set(ourGlobals.bg, EINA_TRUE); | 392 | evas_object_focus_set(ourGlobals.bg, EINA_TRUE); |
393 | 393 | ||
394 | ourGlobals.edje = edje_object_add(ourGlobals.canvas); | 394 | ourGlobals.edje = edje_object_add(ourGlobals.canvas); |
395 | snprintf(buf, sizeof(buf), "%s/media/%s.edj", PACKAGE_DATA_DIR, "LuaSL"); | 395 | snprintf(buf, sizeof(buf), "%s/%s.edj", PACKAGE_DATA_DIR, "LuaSL"); |
396 | if (!edje_object_file_set(ourGlobals.edje, buf, group)) | 396 | if (!edje_object_file_set(ourGlobals.edje, buf, group)) |
397 | { | 397 | { |
398 | int err = edje_object_load_error_get(ourGlobals.edje); | 398 | int err = edje_object_load_error_get(ourGlobals.edje); |
@@ -409,7 +409,7 @@ int main(int argc, char **argv) | |||
409 | evas_object_resize(ourGlobals.edje, WIDTH, HEIGHT); | 409 | evas_object_resize(ourGlobals.edje, WIDTH, HEIGHT); |
410 | evas_object_show(ourGlobals.edje); | 410 | evas_object_show(ourGlobals.edje); |
411 | 411 | ||
412 | snprintf(buf, sizeof(buf), "%s/media/bubble_sh.png", PACKAGE_DATA_DIR); | 412 | snprintf(buf, sizeof(buf), "%s/bubble_sh.png", PACKAGE_DATA_DIR); |
413 | for (i = 0; i < (sizeof(names) / sizeof(char *) / 2); i++) | 413 | for (i = 0; i < (sizeof(names) / sizeof(char *) / 2); i++) |
414 | { | 414 | { |
415 | sh = evas_object_image_filled_add(ourGlobals.canvas); | 415 | sh = evas_object_image_filled_add(ourGlobals.canvas); |
@@ -419,7 +419,7 @@ int main(int argc, char **argv) | |||
419 | evas_object_data_set(ourGlobals.bg, names[(i * 2) + 1], sh); | 419 | evas_object_data_set(ourGlobals.bg, names[(i * 2) + 1], sh); |
420 | } | 420 | } |
421 | 421 | ||
422 | snprintf(buf, sizeof(buf), "%s/media/bubble.png", PACKAGE_DATA_DIR); | 422 | snprintf(buf, sizeof(buf), "%s/bubble.png", PACKAGE_DATA_DIR); |
423 | for (i = 0; i < (sizeof(names) / sizeof(char *) / 2); i++) | 423 | for (i = 0; i < (sizeof(names) / sizeof(char *) / 2); i++) |
424 | { | 424 | { |
425 | bub = evas_object_image_filled_add(ourGlobals.canvas); | 425 | bub = evas_object_image_filled_add(ourGlobals.canvas); |