changeset 5217:c0f518284a68

Unbreak `show-memory-usage' for NEW_GC.
author Marcus Crestani <crestani@informatik.uni-tuebingen.de>
date Sat, 29 May 2010 07:12:17 +0200
parents 9b8c2168d231
children ec2ddc82f10d
files src/ChangeLog src/window.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat May 29 07:10:49 2010 +0200
+++ b/src/ChangeLog	Sat May 29 07:12:17 2010 +0200
@@ -1,3 +1,8 @@
+2010-05-28  Marcus Crestani  <crestani@informatik.uni-tuebingen.de>
+
+	* window.c (compute_window_usage): Unbreak `show-memory-usage' for
+	NEW_GC.
+
 2010-05-28  Marcus Crestani  <crestani@informatik.uni-tuebingen.de>
 
 	* mc-alloc.c: 
--- a/src/window.c	Sat May 29 07:10:49 2010 +0200
+++ b/src/window.c	Sat May 29 07:12:17 2010 +0200
@@ -5230,9 +5230,9 @@
   stats->line_start =
     compute_line_start_cache_dynarr_usage (w->line_start_cache, ustats);
   stats->face = compute_face_cachel_usage (w->face_cachels,
-					   IF_OLD_GC (ustats));
+					   ustats);
   stats->glyph = compute_glyph_cachel_usage (w->glyph_cachels,
-					     IF_OLD_GC (ustats));
+					     ustats);
   {
     struct window_mirror *wm;