From 9afbe8483ec1b3e5f723382ca7d7219c48d96082 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 20 Jul 2017 18:15:53 +0900 Subject: [PATCH] remove some noisy printfs and clean up the error ones --- src/bin/dnd.c | 5 +---- src/bin/main.c | 2 +- src/bin/winvid.c | 7 +------ 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/bin/dnd.c b/src/bin/dnd.c index 6b87821..fb39410 100644 --- a/src/bin/dnd.c +++ b/src/bin/dnd.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 diff --git a/src/bin/main.c b/src/bin/main.c index d007a28..9866300 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -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; } diff --git a/src/bin/winvid.c b/src/bin/winvid.c index a8d43d7..051c921 100644 --- a/src/bin/winvid.c +++ b/src/bin/winvid.c @@ -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);