[metacity/matching] remove debug printing



commit 554d5041fd3d40388196253cb10e04088e2518d2
Author: Thomas Thurman <tthurman gnome org>
Date:   Fri Jul 10 09:07:57 2009 -0400

    remove debug printing

 src/core/window.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 2ab4c29..a7e3a99 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3293,7 +3293,6 @@ meta_window_move_resize_internal (MetaWindow          *window,
   if ((flags & (META_IS_MOVE_ACTION | META_IS_RESIZE_ACTION)) == 
       META_IS_RESIZE_ACTION)
     { 
-      g_warning ("Only resizing\n");
       meta_rectangle_resize_with_gravity (&old_rect,
                                           &new_rect,
                                           gravity,
@@ -3306,7 +3305,6 @@ meta_window_move_resize_internal (MetaWindow          *window,
     }
   else if (is_configure_request || do_gravity_adjust)
     {      
-      g_warning ("Adjst for gravity\n");
       adjust_for_gravity (window,
                           window->frame ? &fgeom : NULL,
                           /* configure request coords assume
@@ -3571,7 +3569,7 @@ meta_window_move_resize_internal (MetaWindow          *window,
       {
         int newx, newy;
         meta_window_get_position (window, &newx, &newy);
-        meta_warning (/*META_DEBUG_GEOMETRY,*/
+        meta_topic (META_DEBUG_GEOMETRY,
                     "Syncing new client geometry %d,%d %dx%d, border: %s pos: %s size: %s\n",
                     newx, newy,
                     window->rect.width, window->rect.height,
@@ -3626,7 +3624,7 @@ meta_window_move_resize_internal (MetaWindow          *window,
     {
       int newx, newy;
       meta_window_get_position (window, &newx, &newy);
-      meta_warning (/*META_DEBUG_GEOMETRY,*/
+      meta_topic (META_DEBUG_GEOMETRY,
                   "New size/position %d,%d %dx%d (user %d,%d %dx%d)\n",
                   newx, newy, window->rect.width, window->rect.height,
                   window->user_rect.x, window->user_rect.y,



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