diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-25 10:01:59 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2011-08-25 10:01:59 +0000 |
commit | a7d632573587ef5d1f714921baeac3c3fe59ec31 (patch) | |
tree | 2e390b7d8ae6a50ff3effcf2d834200c77a16740 /src/bin/test_icon_animated.c | |
parent | 7980b828c01cc99283df38f0e03f1a4be9597f93 (diff) | |
download | elementary-a7d632573587ef5d1f714921baeac3c3fe59ec31.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 'src/bin/test_icon_animated.c')
-rw-r--r-- | src/bin/test_icon_animated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/test_icon_animated.c b/src/bin/test_icon_animated.c index c1ba5639b..d970f9064 100644 --- a/src/bin/test_icon_animated.c +++ b/src/bin/test_icon_animated.c @@ -27,7 +27,7 @@ test_icon_animated(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *eve elm_win_alpha_set(win, 1); ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), "%s/images/animated_logo.gif", PACKAGE_DATA_DIR); + snprintf(buf, sizeof(buf), "%s/images/animated_logo.gif", elm_app_data_dir_get()); elm_icon_file_set(ic, buf, NULL); if (elm_icon_animated_available_get(ic)) { |