[gnumeric] Debug: simplify code.



commit fe0bd4c34835fc862be8359e5224ddc5e75ce3fc
Author: Morten Welinder <terra gnome org>
Date:   Sun May 22 10:59:10 2011 -0400

    Debug: simplify code.

 src/wbc-gtk.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index d887916..eccb118 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -2219,10 +2219,7 @@ cb_workbook_debug_info (WBCGtk *wbcg)
 	}
 
 	if (gnm_debug_flag ("style-optimize")) {
-		WORKBOOK_FOREACH_SHEET (wb, sheet, (
-			{
-				sheet_style_optimize (sheet);
-			}));
+		workbook_optimize_style (wb);
 	}
 }
 



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