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)
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 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,
517 void *event_info EINA_UNUSED) 517 void *event_info EINA_UNUSED)
518{ 518{
519 Evas_Object *win, *fs, *box, *vbox, *sep; 519 Evas_Object *win, *fs, *box, *vbox, *sep;
520 char * home_env; 520 const char * home_env;
521 521
522 /* Set the locale according to the system pref. 522 /* Set the locale according to the system pref.
523 * If you don't do so the file selector will order the files list in 523 * 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
534_track_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) 534_track_add(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
535{ 535{
536 Evas_Object *fs, *vbox, *hbox, *sep; 536 Evas_Object *fs, *vbox, *hbox, *sep;
537 char *path = NULL; 537 const char *path = NULL;
538 538
539 fs_win = elm_win_util_standard_add("fileselector", "File Selector"); 539 fs_win = elm_win_util_standard_add("fileselector", "File Selector");
540 elm_win_autodel_set(fs_win, EINA_TRUE); 540 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)
91 struct dirent *de; 91 struct dirent *de;
92 Eina_List *l; 92 Eina_List *l;
93 char *real; 93 char *real;
94 char *home_env = NULL; 94 const char *home_env = NULL;
95 unsigned int x = 0; 95 unsigned int x = 0;
96 96
97 if (!dirs) 97 if (!dirs)