raster pushed a commit to branch master.

commit e7862929e4aa5217b634f08dc7ea387781e157ea
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Jul 19 09:23:11 2013 +0900

    ecore-x: make error prints DBG not ERR so we don't get spammed
    
    because an error with no idea where it came from since its async is
    pretty much usless noise. if you want this to be useful you literally
    need to do an xsync every x call and be able to get backtraces... the
    xsync then would be inside ecore-x. and of course this would be so
    nastily slow that you need to make it an option at build...
---
 src/lib/ecore_x/xlib/ecore_x_error.c | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/lib/ecore_x/xlib/ecore_x_error.c 
b/src/lib/ecore_x/xlib/ecore_x_error.c
index 3695341..eca7f1f 100644
--- a/src/lib/ecore_x/xlib/ecore_x_error.c
+++ b/src/lib/ecore_x/xlib/ecore_x_error.c
@@ -102,55 +102,55 @@ _ecore_x_error_handle(Display *d,
    switch (ev->error_code)
      {
       case BadRequest: /* bad request code */
-        ERR("BadRequest");
+        DBG("BadRequest");
         break;
       case BadValue:   /* int parameter out of range */
-        ERR("BadValue");
+        DBG("BadValue");
         break;
       case BadWindow:  /* parameter not a Window */
-        ERR("BadWindow");
+        DBG("BadWindow");
         break;
       case BadPixmap:  /* parameter not a Pixmap */
-        ERR("BadPixmap");
+        DBG("BadPixmap");
         break;
       case BadAtom:    /* parameter not an Atom */
-        ERR("BadAtom");
+        DBG("BadAtom");
         break;
       case BadCursor:  /* parameter not a Cursor */
-        ERR("BadCursor");
+        DBG("BadCursor");
         break;
       case BadFont:    /* parameter not a Font */
-        ERR("BadFont");
+        DBG("BadFont");
         break;
       case BadMatch:   /* parameter mismatch */
-        ERR("BadMatch");
+        DBG("BadMatch");
         break;
       case BadDrawable:        /* parameter not a Pixmap or Window */
-        ERR("BadDrawable");
+        DBG("BadDrawable");
         break;
       case BadAccess:  /* depending on context */
-        ERR("BadAccess");
+        DBG("BadAccess");
         break;
       case BadAlloc:   /* insufficient resources */
-        ERR("BadAlloc");
+        DBG("BadAlloc");
         break;
       case BadColor:   /* no such colormap */
-        ERR("BadColor");
+        DBG("BadColor");
         break;
       case BadGC:      /* parameter not a GC */
-        ERR("BadGC");
+        DBG("BadGC");
         break;
       case BadIDChoice:        /* choice not in range or already used */
-        ERR("BadIDChoice");
+        DBG("BadIDChoice");
         break;
       case BadName:    /* font or color name doesn't exist */
-        ERR("BadName");
+        DBG("BadName");
         break;
       case BadLength:  /* Request length incorrect */
-        ERR("BadLength");
+        DBG("BadLength");
         break;
       case BadImplementation:  /* server is defective */
-        ERR("BadImplementation");
+        DBG("BadImplementation");
         break;
      }
    if (d == _ecore_x_disp)

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to