aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_photo.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-25 10:01:59 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-08-25 10:01:59 +0000
commita0366f0ef1209bb575d01ac439463c456a9776da (patch)
tree6087a6862a891832178625fcef9404011e510c48 /legacy/elementary/src/bin/test_photo.c
parentFrom: Jaehwan Kim <jae.hwan.kim@samsung.com> (diff)
downloadefl-a0366f0ef1209bb575d01ac439463c456a9776da.tar.gz
From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test please find attached a small patch for eina_prefix it prevent segfault when for instance no elm_app_compile_*_dir_set is called prior to elm_app_info_set and another one for elementary/src/bin/test*.c which tends to replace usage of PACKAGE_DATA_DIR with elm_app_data_dir_get SVN revision: 62796
Diffstat (limited to 'legacy/elementary/src/bin/test_photo.c')
-rw-r--r--legacy/elementary/src/bin/test_photo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/bin/test_photo.c b/legacy/elementary/src/bin/test_photo.c
index 8e1bf95f9b..fd7b77bbcf 100644
--- a/legacy/elementary/src/bin/test_photo.c
+++ b/legacy/elementary/src/bin/test_photo.c
@@ -46,7 +46,7 @@ test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
{
ph = elm_photo_add(win);
snprintf(buf, sizeof(buf), "%s/images/%s",
- PACKAGE_DATA_DIR, img[n]);
+ elm_app_data_dir_get(), img[n]);
n++;
if (n >= 9) n = 0;
elm_photo_size_set(ph, 80);