raster pushed a commit to branch master.

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

commit ecd2a8248f12714b254e13f21a04b483fcdea8c1
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri May 15 12:36:45 2015 +0900

    elm - tests - fix const warnings with new eina home get func
---
 src/bin/test_fileselector.c | 2 +-
 src/bin/test_map.c          | 2 +-
 src/bin/test_panel.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/test_fileselector.c b/src/bin/test_fileselector.c
index eade901..3568fcd 100644
--- a/src/bin/test_fileselector.c
+++ b/src/bin/test_fileselector.c
@@ -517,7 +517,7 @@ test_fileselector(void *data       EINA_UNUSED,
                   void *event_info EINA_UNUSED)
 {
    Evas_Object *win, *fs, *box, *vbox, *sep;
-   char * home_env;
+   const char * home_env;
 
    /* Set the locale according to the system pref.
     * If you don't do so the file selector will order the files list in
diff --git a/src/bin/test_map.c b/src/bin/test_map.c
index 91bd732..69f03a9 100644
--- a/src/bin/test_map.c
+++ b/src/bin/test_map.c
@@ -534,7 +534,7 @@ static void
 _track_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
    Evas_Object *fs, *vbox, *hbox, *sep;
-   char *path = NULL;
+   const char *path = NULL;
 
    fs_win = elm_win_util_standard_add("fileselector", "File Selector");
    elm_win_autodel_set(fs_win, EINA_TRUE);
diff --git a/src/bin/test_panel.c b/src/bin/test_panel.c
index 2a63d43..9c8d4eb 100644
--- a/src/bin/test_panel.c
+++ b/src/bin/test_panel.c
@@ -91,7 +91,7 @@ _fill_list(Evas_Object *obj, Elm_Genlist_Item_Class *itc)
    struct dirent *de;
    Eina_List *l;
    char *real;
-   char *home_env = NULL;
+   const char *home_env = NULL;
    unsigned int x = 0;
 
    if (!dirs)

-- 


Reply via email to