[metacity/cowbell] rm debug printing which slows it down to be unusable
- From: Thomas James Alexander Thurman <tthurman src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [metacity/cowbell] rm debug printing which slows it down to be unusable
- Date: Fri, 23 Oct 2009 18:26:45 +0000 (UTC)
commit 4e7adebaf7e529908b800beaee4fd94d9c8c5fe2
Author: Thomas Thurman <tthurman gnome org>
Date: Fri Oct 23 14:26:36 2009 -0400
rm debug printing which slows it down to be unusable
src/ui/theme.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index db7ef9c..c45aedb 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: */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]