[gnumeric] Remove unused stuff.



commit b4d71162ad4bd5c35e49d1005a839b9fb4bce656
Author: Morten Welinder <terra gnome org>
Date:   Tue Nov 22 14:20:49 2011 -0500

    Remove unused stuff.

 src/libgnumeric.c |    6 ------
 src/print.c       |    5 +----
 src/print.h       |    3 ---
 3 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/src/libgnumeric.c b/src/libgnumeric.c
index b705360..3327db6 100644
--- a/src/libgnumeric.c
+++ b/src/libgnumeric.c
@@ -97,12 +97,6 @@ static GOptionEntry const libspreadsheet_options [] = {
 
 	/**************************************
 	 * Hidden debugging flags */
-	{
-		"debug-print", 0,
-		G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_INT, &gnm_print_debug,
-		N_("Enables some print debugging behavior"),
-		N_("LEVEL")
-	},
 
 	{ NULL }
 };
diff --git a/src/print.c b/src/print.c
index b23d7db..c774742 100644
--- a/src/print.c
+++ b/src/print.c
@@ -107,8 +107,6 @@ typedef struct {
 } PaginationInfo;
 
 
-gboolean gnm_print_debug = FALSE;
-
 GType
 gnm_print_range_get_type (void)
 {
@@ -407,8 +405,7 @@ ensure_decoration_layout (GtkPrintContext *context)
  *
  * Print a header/footer line.
  *
- * Position at y, and clip to rectangle. If gnm_print_debug is TRUE, display
- * the rectangle.
+ * Position at y, and clip to rectangle.
  */
 static void
 print_hf_element (GtkPrintContext *context, cairo_t *cr,
diff --git a/src/print.h b/src/print.h
index a548262..dbf820b 100644
--- a/src/print.h
+++ b/src/print.h
@@ -41,9 +41,6 @@ void gnm_print_sheet_objects (cairo_t *cr,
 			      GnmRange *range,
 			      double base_x, double base_y);
 
-/* Internal */
-extern gboolean gnm_print_debug;
-
 G_END_DECLS
 
 #endif /* _GNM_PRINT_H_ */



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