tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=2bd8040fc129335f3364753504fd72637d965de5

commit 2bd8040fc129335f3364753504fd72637d965de5
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Wed Jul 22 16:18:44 2015 +0200

    Elm_Config: remove Evil functions as home is anyway set on Windows
---
 src/lib/elm_config.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index c4a566c..9e48af5 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -2,10 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#ifdef HAVE_EVIL
-# include <Evil.h>
-#endif
-
 #include <Elementary.h>
 #include "elm_priv.h"
 #include <pwd.h>
@@ -546,12 +542,6 @@ _elm_config_user_dir_snprintf(char       *dst,
    size_t user_dir_len = 0, off = 0;
    va_list ap;
 
-#ifdef _WIN32
-   home = evil_homedir_get();
-   user_dir_len = eina_str_join_len
-     (dst, size, '/', home, strlen(home),
-         ELEMENTARY_BASE_DIR, sizeof(ELEMENTARY_BASE_DIR) - 1);
-#else
 #if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
    if (getuid() == geteuid())
 #endif
@@ -599,7 +589,6 @@ _elm_config_user_dir_snprintf(char       *dst,
 #endif
      }
 #endif
-#endif
 
    off = user_dir_len + 1;
    if (off >= size) goto end;

-- 


Reply via email to