From 646fde45de8eb39653e1d9bb49203456ff6e73f8 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 19 Jul 2019 10:55:30 +0100 Subject: [PATCH] module errors - also report to stderr immediately to aid in debug delaying the module error may mean you never see it, so display immediately on stderr --- src/bin/e_module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_module.c b/src/bin/e_module.c index 4cda9e0a8..49686d0a8 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -797,8 +797,6 @@ _e_module_dialog_disable_show(const char *title, const char *body, E_Module *m) E_Dialog *dia; char buf[4096]; - printf("MODULE ERR:\n%s\n", body); - dia = e_dialog_new(NULL, "E", "_module_unload_dialog"); snprintf(buf, sizeof(buf), "%s%s", body, @@ -834,6 +832,7 @@ _e_module_dialog_disable_create(const char *title, const char *body, E_Module *m dd->body = strdup(body); dd->m = m; ecore_timer_loop_add(1.5, (Ecore_Task_Cb)_e_module_dialog_disable_timer, dd); + fprintf(stderr, "MODULE ERR: [%s]\n%s\n", title, body); } static void