repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 39f069b6036bbe518322c7493c501b6a10ee2951:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 39f069b6036bbe518322c7493c501b6a10ee2951
Author: Emanuele Giaquinta 
Date:   Fri Oct 22 16:49:26 2010 +0000

    Remove debugging stuff.

diff --git a/src/background.C b/src/background.C
index 5b13b78cd7aa055fd578aec9d9e78b3f97b0572b..
index ..480c7bef3c4f3ff9e615af65bac4333852320677 100644
--- a/src/background.C
+++ b/src/background.C
@@ -430,8 +430,6 @@ bgPixmap_t::set_geometry (const char *geom)
       changed++;
     }

-  //fprintf (stderr, "flags = %lX, scale = %ux%u, align=%+d%+d\n",
-  //         flags, h_scale, v_scale, h_align, v_align);
   return (changed > 0);
 }

diff --git a/src/command.C b/src/command.C
index 241fe39c6bcb96d0b4ddbf645686cf60088d8089..
index ..1eaaf5f1d089dc424ea18ebe0cf9972676c55ac6 100644
--- a/src/command.C
+++ b/src/command.C
@@ -1432,9 +1432,6 @@ rxvt_term::x_cb (XEvent &ev)
         break;

       case ConfigureNotify:
-        /*fprintf (stderr, "ConfigureNotify for %X, parent is %X, geom is %dx%d%+d%+d, old geom was %dx%d\n",
-              ev.xconfigure.window, parent[0], ev.xconfigure.width, ev.xconfigure.height, ev.xconfigure.x, ev.xconfigure.y,
-              szHint.width, szHint.height);*/
         if (ev.xconfigure.window == parent[0])
           {
             while (XCheckTypedWindowEvent (dpy, ev.xconfigure.window, ConfigureNotify, &ev))
diff --git a/src/main.C b/src/main.C
index 002da5851d90fbb4dce7bb35593ccec7f4873d95..
index ..d6c157f262afcffc782afa9ccb0be0792d12e379 100644
--- a/src/main.C
+++ b/src/main.C
@@ -1628,7 +1628,6 @@ rxvt_term::get_window_origin (int &x, int &y)
 {
   Window cr;
   XTranslateCoordinates (dpy, parent[0], display->root, 0, 0, &x, &y, &cr);
-/*  fprintf (stderr, "origin is %+d%+d\n", x, y);*/
 }

 Pixmap
@@ -1652,15 +1651,6 @@ rxvt_term::get_pixmap_property (int prop_id)
 }

 #ifdef HAVE_BG_PIXMAP
-# if TRACE_PIXMAPS
-#  undef update_background
-void
-rxvt_term::trace_update_background (const char *file, int line)
-{
-  fprintf (stderr, "%s:%d:update_background()\n", file, line);
-  update_background ();
-}
-# endif

 void
 rxvt_term::update_background ()
diff --git a/src/rxvt.h b/src/rxvt.h
index cf332c4a5f8b314848e9e1c22f177ee0e004538e..
index ..18fd2c6dd71e357bdd53b605329971ba6dd764d7 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -1160,10 +1160,6 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen
 #endif
 #ifdef HAVE_BG_PIXMAP
   void update_background ();
-#if TRACE_PIXMAPS
-  void trace_update_background (const char *file, int line);
-# define update_background() trace_update_background (__FILE__, __LINE__)
-#endif
   void update_background_cb (ev::timer &w, int revents);
   ev::timer update_background_ev;
 #endif
diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C
index c1ba37c60a896b2cba4d80dceceda9febbbf3d7c..
index ..820388992471de0fe1e641ff22d935f9fde9c018 100644
--- a/src/rxvttoolkit.C
+++ b/src/rxvttoolkit.C
@@ -886,19 +886,3 @@ rxvt_color::fade (rxvt_screen *screen, int percent, rxvt_color &result, const rg
   );
 }

-#if TRACE_PIXMAPS
-# undef XCreatePixmap
-# undef XFreePixmap
-Pixmap trace_XCreatePixmap (const char *file, int line, Display *dpy, Window r, unsigned int w, unsigned int h, unsigned int d)
-{
-  Pixmap res = XCreatePixmap (dpy, r, w, h, d);
-  fprintf (stderr, "%s:%d: XCreatePixmap (%p,%lX,%u,%u,%u) returned %lX\n", file, line, dpy, r, w, h, d, res);
-  return res;
-}
-
-void trace_XFreePixmap (const char *file, int line, Display *dpy, Pixmap p)
-{
-  fprintf (stderr, "%s:%d: XFreePixmap (%p,%lX)\n", file, line, dpy, p);
-  XFreePixmap (dpy,p);
-}
-#endif
diff --git a/src/rxvttoolkit.h b/src/rxvttoolkit.h
index 4f915648351a9c9ceb1adfeb847790de0b9fc74f..
index ..ee27a47f580ddbf603577453db1ad8f4fd31c83e 100644
--- a/src/rxvttoolkit.h
+++ b/src/rxvttoolkit.h
@@ -355,13 +355,5 @@ struct rxvt_color
   void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0));
 };

-#if TRACE_PIXMAPS
-Pixmap trace_XCreatePixmap (const char *file, int line, Display *dpy, Window r, unsigned int w, unsigned int h, unsigned int d);
-void trace_XFreePixmap (const char *file, int line, Display *dpy, Pixmap p);
-
-# define XCreatePixmap(dpy,r,w,h,d) trace_XCreatePixmap (__FILE__,__LINE__,dpy,r,w,h,d)
-# define XFreePixmap(dpy,p) trace_XFreePixmap (__FILE__,__LINE__,dpy,p)
-#endif
-
 #endif

-----END OF PAGE-----