summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-15 12:36:45 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-15 12:36:45 +0900
commitecd2a8248f12714b254e13f21a04b483fcdea8c1 (patch)
treec5bcb314de2567d39d196cea280394051314274a
parentb5377130011329cef22eec3fa7967eff2940b0e8 (diff)
downloadelementary-ecd2a8248f12714b254e13f21a04b483fcdea8c1.tar.gz
elm - tests - fix const warnings with new eina home get func
-rw-r--r--src/bin/test_fileselector.c2
-rw-r--r--src/bin/test_map.c2
-rw-r--r--src/bin/test_panel.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/test_fileselector.c b/src/bin/test_fileselector.c
index eade90127..3568fcdb5 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 91bd7326c..69f03a957 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 2a63d43d7..9c8d4eb2c 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)