elm - tests - fix const warnings with new eina home get func

This commit is contained in:
Carsten Haitzler 2015-05-15 12:36:45 +09:00
parent 147c786606
commit ed8e4a0430
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);

View File

@ -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)