[gnumeric] Whitespace fixes.



commit 04e5d685ef711902705401ad2e3e24ceb36f923b
Author: Morten Welinder <terra gnome org>
Date:   Tue May 12 09:08:05 2009 -0400

    Whitespace fixes.
---
 src/sheet-style.c  |    2 +-
 src/sheet.c        |   14 +++++++-------
 src/ssconvert.c    |   10 +++++-----
 src/ssgrep.c       |    4 ++--
 src/sstest.c       |    4 ++--
 src/wbc-gtk-edit.c |    2 +-
 src/xml-io.c       |    2 +-
 7 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/src/sheet-style.c b/src/sheet-style.c
index 8db50b8..afa912d 100644
--- a/src/sheet-style.c
+++ b/src/sheet-style.c
@@ -183,7 +183,7 @@ rstyle_apply (GnmStyle **old, ReplacementStyle *rs)
 /****************************************************************************/
 
 /* If you change this, change the tile_{widths,heights} here
- * and GNM_MAX_COLS and GNM_MAX_ROWS in gnumeric.h */ 
+ * and GNM_MAX_COLS and GNM_MAX_ROWS in gnumeric.h */
 #define TILE_TOP_LEVEL 6
 
 #define TILE_SIZE_COL 4
diff --git a/src/sheet.c b/src/sheet.c
index c1c5899..aa8ea7d 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -986,17 +986,17 @@ gnm_sheet_class_init (GObjectClass *gobject_class)
 				      G_PARAM_READWRITE));
 
 	g_object_class_install_property (gobject_class, PROP_COLUMNS,
-		g_param_spec_int ("columns", 
+		g_param_spec_int ("columns",
 			_("Columns"),
 			_("Columns number in the sheet"),
-			0, GNM_MAX_COLS, GNM_DEFAULT_COLS, 
+			0, GNM_MAX_COLS, GNM_DEFAULT_COLS,
 			GSF_PARAM_STATIC | G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
 	g_object_class_install_property (gobject_class, PROP_ROWS,
-		g_param_spec_int ("rows", 
+		g_param_spec_int ("rows",
 			_("Rows"),
 			_("Rows number in the sheet"),
-			0, GNM_MAX_ROWS, GNM_DEFAULT_ROWS, 
+			0, GNM_MAX_ROWS, GNM_DEFAULT_ROWS,
 			GSF_PARAM_STATIC | G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
 	signals[DETACHED_FROM_WORKBOOK] = g_signal_new
@@ -1198,7 +1198,7 @@ gnm_sheet_resize_main (Sheet *sheet, int cols, int rows,
 		/* FIXME: what about dependents in other workbooks?  */
 		WORKBOOK_FOREACH_DEPENDENT
 			(sheet->workbook, dep,
-			 
+
 			 if (dependent_is_linked (dep)) {
 				 dependent_unlink (dep);
 				 linked = g_slist_prepend (linked, dep);
@@ -1256,7 +1256,7 @@ gnm_sheet_resize_main (Sheet *sheet, int cols, int rows,
 		go_undo_undo_with_data (*pundo, cc);
 		g_object_unref (*pundo);
 		*pundo = NULL;
-	}	
+	}
 }
 
 GOUndo *
@@ -2093,7 +2093,7 @@ sheet_get_printarea	(Sheet const *sheet,
 		    !range_is_full (&r, sheet, FALSE))
 			return r;
 	}
-	
+
 	r = sheet_get_extent (sheet, TRUE);
 	if (include_styles)
 		sheet_style_get_extent (sheet, &r, NULL);
diff --git a/src/ssconvert.c b/src/ssconvert.c
index 1136e75..37fb10a 100644
--- a/src/ssconvert.c
+++ b/src/ssconvert.c
@@ -243,7 +243,7 @@ list_them (get_them_f get_them,
  * Read the files we're going to merge and return a list of Workbooks.
  */
 static GSList *
-read_files_to_merge (const char *inputs[], GOFileOpener *fo, 
+read_files_to_merge (const char *inputs[], GOFileOpener *fo,
 		     IOContext *io_context, GOCmdContext *cc)
 {
 	GSList *wbs = NULL;
@@ -251,8 +251,8 @@ read_files_to_merge (const char *inputs[], GOFileOpener *fo,
 	while (*inputs) {
 		const char *fname = *inputs;
 		char *uri = go_shell_arg_to_uri (fname);
-		WorkbookView *wbv = 
-			wb_view_new_from_uri (uri, fo, io_context, 
+		WorkbookView *wbv =
+			wb_view_new_from_uri (uri, fo, io_context,
 					      ssconvert_import_encoding);
 		g_free (uri);
 		inputs++;
@@ -387,7 +387,7 @@ merge_single (Workbook *wb, Workbook *wb2,
 
 /* Merge a collection of workbooks into one. */
 static gboolean
-merge (Workbook *wb, char const *inputs[], 
+merge (Workbook *wb, char const *inputs[],
        GOFileOpener *fo, IOContext *io_context, GOCmdContext *cc)
 {
 	GSList *wbs, *l;
@@ -483,7 +483,7 @@ convert (char const *inarg, char const *outarg, char const *mergeargs[],
 		WorkbookView *wbv;
 		if (mergeargs==NULL) {
 			wbv = wb_view_new_from_uri (infile, fo,
-						    io_context, 
+						    io_context,
 						    ssconvert_import_encoding);
 		} else {
 			wbv = workbook_view_new (NULL);
diff --git a/src/ssgrep.c b/src/ssgrep.c
index fa2970a..35f6c25 100644
--- a/src/ssgrep.c
+++ b/src/ssgrep.c
@@ -446,7 +446,7 @@ main (int argc, char const **argv)
 		g_printerr (_("version '%s'\ndatadir := '%s'\nlibdir := '%s'\n"),
 			    GNM_VERSION_FULL, gnm_sys_data_dir (), gnm_sys_lib_dir ());
 		return 0;
-	} 
+	}
 
 	gnm_init (FALSE);
 
@@ -471,7 +471,7 @@ main (int argc, char const **argv)
 
 		textline = (GsfInputTextline *)gsf_input_textline_new (input);
 		g_object_unref (G_OBJECT (input));
-		
+
 		pat = g_string_new (NULL);
 		while (NULL != (line = gsf_input_textline_ascii_gets (textline))) {
 			if (pat->len)
diff --git a/src/sstest.c b/src/sstest.c
index 8011400..4a54fcf 100644
--- a/src/sstest.c
+++ b/src/sstest.c
@@ -71,7 +71,7 @@ dump_names (Workbook *wb)
 
 	workbook_foreach_name (wb, FALSE, (GHFunc)cb_collect_names, &names);
 	names = g_slist_sort (names, (GCompareFunc)expr_name_cmp_by_name);
-	
+
 	g_printerr ("Dumping names...\n");
 	for (l = names; l; l = l->next) {
 		GnmNamedExpr *nexpr = l->data;
@@ -222,7 +222,7 @@ main (int argc, char const **argv)
 		g_printerr (_("version '%s'\ndatadir := '%s'\nlibdir := '%s'\n"),
 			    GNM_VERSION_FULL, gnm_sys_data_dir (), gnm_sys_lib_dir ());
 		return 0;
-	} 
+	}
 
 	gnm_init (FALSE);
 
diff --git a/src/wbc-gtk-edit.c b/src/wbc-gtk-edit.c
index 9e15f67..1584607 100644
--- a/src/wbc-gtk-edit.c
+++ b/src/wbc-gtk-edit.c
@@ -1014,7 +1014,7 @@ wbcg_insert_object (WBCGtk *wbcg, SheetObject *so)
 /**
  * wbcg_insert_object_clear :
  * @wbcg : #WBCGtk
- * 
+ *
  * If we are preparing to insert a new object, unref the object, and restore
  * a normal state to the scgs that was changed in wbcg_insert_object
  * (e.g.  visiblity of cursors)
diff --git a/src/xml-io.c b/src/xml-io.c
index 2243a27..29a2f76 100644
--- a/src/xml-io.c
+++ b/src/xml-io.c
@@ -1235,7 +1235,7 @@ xml_read_cell (XmlParseContext *ctxt, xmlNodePtr tree)
 			} else if (!strcmp (child->name, "Comment")) {
 				xmlChar *comment = xmlNodeGetContent (child);
 				cell_set_comment (cell->base.sheet,
-						  &cell->pos, NULL, comment, 
+						  &cell->pos, NULL, comment,
 						  NULL);
 				xmlFree (comment);
 			}



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