davemds pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=690a60c3ccf1d2320628587a0da7b8d0d0ede83b

commit 690a60c3ccf1d2320628587a0da7b8d0d0ede83b
Author: davemds <[email protected]>
Date:   Sun Feb 16 19:04:13 2014 +0100

    Emotion test: no need to search for a folder that no more exists
---
 src/tests/emotion/emotion_test_main.c | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/src/tests/emotion/emotion_test_main.c 
b/src/tests/emotion/emotion_test_main.c
index f3e21ca..e78b50d 100644
--- a/src/tests/emotion/emotion_test_main.c
+++ b/src/tests/emotion/emotion_test_main.c
@@ -116,22 +116,6 @@ theme_get(void)
      return PACKAGE_DATA_DIR"/data/theme.edj";
 }
 
-static const char *
-fonts_dir_get(void)
-{
-   static int is_local = -1;
-   if (is_local == -1)
-     {
-        struct stat st;
-        is_local = (stat(PACKAGE_BUILD_DIR"/src/tests/emotion/data/fonts", 
&st) == 0);
-     }
-
-   if (is_local)
-     return PACKAGE_BUILD_DIR"/src/tests/emotion/data/fonts";
-   else
-     return PACKAGE_DATA_DIR"/data/fonts";
-}
-
 void
 bg_setup(void)
 {
@@ -766,7 +750,6 @@ main(int argc, char **argv)
    evas = ecore_evas_get(ecore_evas);
    evas_image_cache_set(evas, 8 * 1024 * 1024);
    evas_font_cache_set(evas, 1 * 1024 * 1024);
-   evas_font_path_append(evas, fonts_dir_get());
 
    emotion_init();
 

-- 


Reply via email to