tasn pushed a commit to branch master.

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

commit ba278bb1f7b773b2f9221654d6fe35f67318890e
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Wed Jul 22 05:18:19 2015 +0200

    Eina: use Eina API in documentation
---
 src/lib/eina/eina_tmpstr.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eina/eina_tmpstr.h b/src/lib/eina/eina_tmpstr.h
index 6c85f6c..f784a67 100644
--- a/src/lib/eina/eina_tmpstr.h
+++ b/src/lib/eina/eina_tmpstr.h
@@ -69,7 +69,7 @@
  *
  * @code
  * Eina_Tmpstr *my_homedir(void) {
- *   return eina_tmpstr_add(getenv("HOME"));
+ *   return eina_tmpstr_add(eina_environment_home_get());
  * }
  *
  * Eina_Tmpstr *my_tmpdir(void) {
@@ -144,7 +144,7 @@ typedef const char Eina_Tmpstr;
  *
  * @code
  * Eina_Tmpstr *my_homedir(void) {
- *   return eina_tmpstr_add(getenv("HOME"));
+ *   return eina_tmpstr_add(eina_environment_home_get());
  * }
  *
  * void my_rmfile(Eina_Tmpstr *str) {

-- 


Reply via email to