[vte/vte-next] Remove expose event debug output



commit 48cc95cab050e198b384416019869407d47dc4d0
Author: Christian Persch <chpe gnome org>
Date:   Tue May 3 15:01:38 2011 +0200

    Remove expose event debug output
    
    ... since expose event are gone.

 src/vte.c |   24 +++++++++---------------
 1 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index cd4a789..799a9be 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -10234,17 +10234,20 @@ vte_terminal_draw(GtkWidget *widget,
         if (!gdk_cairo_get_clip_rectangle (cr, &clip_rect))
                 return FALSE;
 
-        _vte_debug_print (VTE_DEBUG_WORK, "+");
-        _vte_debug_print (VTE_DEBUG_EVENTS, "Draw (%d,%d)x(%d,%d)\n",
-                          clip_rect.x, clip_rect.y,
-                          clip_rect.width, clip_rect.height);
+        _vte_debug_print(VTE_DEBUG_LIFECYCLE, "vte_terminal_draw()\n");
+        _vte_debug_print(VTE_DEBUG_WORK, "=");
 
         region = vte_cairo_get_clip_region (cr);
         if (region == NULL)
                 return FALSE;
 
-        _vte_debug_print(VTE_DEBUG_LIFECYCLE, "vte_terminal_draw()\n");
-        _vte_debug_print(VTE_DEBUG_WORK, "=");
+        _VTE_DEBUG_IF (VTE_DEBUG_UPDATES) {
+                cairo_rectangle_int_t clip;
+                cairo_region_get_extents (region, &clip);
+                g_printerr ("vte_terminal_draw (%d,%d)x(%d,%d) pixels\n",
+                            clip_rect.x, clip_rect.y,
+                            clip_rect.width, clip_rect.height);
+        }
 
         terminal = VTE_TERMINAL(widget);
         gtk_widget_get_allocation (widget, &allocation);
@@ -10262,14 +10265,6 @@ vte_terminal_draw(GtkWidget *widget,
                 }
         }
 
-        _VTE_DEBUG_IF (VTE_DEBUG_UPDATES) {
-                cairo_rectangle_int_t clip;
-                cairo_region_get_extents (region, &clip);
-                g_printerr ("vte_terminal_paint"
-                                "       (%d,%d)x(%d,%d) pixels\n",
-                                clip.x, clip.y, clip.width, clip.height);
-        }
-
         _vte_draw_clip(terminal->pvt->draw, region);
         gtk_widget_get_allocation(&terminal->widget, &allocation);
         _vte_draw_clear (terminal->pvt->draw, 0, 0,
@@ -10674,7 +10669,6 @@ vte_terminal_class_init(VteTerminalClass *klass)
 					"  *  _vte_invalidate_all\n"
 					"  )  end _vte_terminal_process_incoming\n"
 					"  -  gdk_window_process_updates\n"
-					"  +  vte_terminal_expose\n"
 					"  =  vte_terminal_draw\n"
 					"  ]} end update_timeout\n"
 					"  >  end process_timeout\n");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]