remove some noisy printfs and clean up the error ones

This commit is contained in:
Carsten Haitzler 2017-07-20 18:15:53 +09:00
parent 9125400e97
commit 9afbe8483e
3 changed files with 3 additions and 11 deletions

View File

@ -14,13 +14,11 @@ static Eina_List *playlist = NULL;
void
_cb_drag_enter(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED)
{
printf("dnd enter\n");
}
void
_cb_drag_leave(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED)
{
printf("dnd leave\n");
}
void
@ -40,7 +38,6 @@ _dnd_finish(Evas_Object *win)
EINA_LIST_FOREACH(playlist, l, path)
{
printf("inserting '%s'\n", path);
win_video_insert(win, path);
free(path);
}
@ -142,7 +139,7 @@ end:
static void
_cb_recurse_error(void *data EINA_UNUSED, Eio_File *f EINA_UNUSED, int error)
{
printf("error recursing: %d\n", error);
printf("ERROR: I/O error while recursing: %i\n", error);
}
static Eina_Bool

View File

@ -128,7 +128,7 @@ elm_main(int argc, char **argv)
win = win_add();
if (!win)
{
printf("ERROR - cannto create window!\n");
printf("ERROR: cannot create window!\n");
goto end;
}

View File

@ -279,15 +279,10 @@ win_video_free(Evas_Object *win)
{
Winvid_Entry *vid;
Inf *inf = evas_object_data_get(win, "inf");
if (!inf->file_list)
{
printf("AAAAIEEEEEE, no file_list\n");
return;
}
if (!inf->file_list) return;
EINA_LIST_FREE(inf->file_list, vid)
{
printf("[%p] Free %s\n", vid, vid->file);
if (vid->file) eina_stringshare_del(vid->file);
if (vid->sub) eina_stringshare_del(vid->sub);
if (vid->uri) efreet_uri_free(vid->uri);