remove some noisy printfs and clean up the error ones

v-0.4.0
Carsten Haitzler 5 years ago
parent 9125400e97
commit 9afbe8483e
  1. 5
      src/bin/dnd.c
  2. 2
      src/bin/main.c
  3. 7
      src/bin/winvid.c

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

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

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

Loading…
Cancel
Save