summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2009-10-23 14:26:36 -0400
committerThomas Thurman <tthurman@gnome.org>2009-10-23 14:26:36 -0400
commit4e7adebaf7e529908b800beaee4fd94d9c8c5fe2 (patch)
tree16787c508eefbd03657abb1597947afce3705641
parentf7e1a87e27e36b99c3fbbbb59e2b5266e8475ffc (diff)
downloadmetacity-4e7adebaf7e529908b800beaee4fd94d9c8c5fe2.tar.gz
rm debug printing which slows it down to be unusable
-rw-r--r--src/ui/theme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index db7ef9cf..c45aedb1 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -824,7 +824,6 @@ meta_theme_get_frame_borders (MetaTheme *theme,
if (top_height)
{
*top_height += text_height;
- g_warning ("At end: %d pixels (text height is %d)\n", *top_height, text_height);
}
}
@@ -1147,6 +1146,7 @@ meta_theme_calc_geometry (MetaTheme *theme,
fill_button_rect (&(fgeom->unabove_rect), CC_UNABOVE, fgeom);
fill_button_rect (&(fgeom->unstick_rect), CC_UNSTICK, fgeom);
+#if 0
for (i=0; i<CC_LAST; i++)
{
g_warning("%20s %8d %8d %8d %8d",
@@ -1156,6 +1156,7 @@ meta_theme_calc_geometry (MetaTheme *theme,
fgeom->areas[i].width,
fgeom->areas[i].height);
}
+#endif
/****************************************************************/
/* Old code which needs replacing: */