[gnumeric] Fixed widget_wbc after goffice change.



commit 0ca4e20d6ada05ccf8571c57fd72f43b0dd3a006
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sun Sep 4 16:13:13 2011 +0200

    Fixed widget_wbc after goffice change.

 ChangeLog                                  |    4 ++++
 plugins/excel/excel.h                      |    2 +-
 plugins/excel/ms-excel-read.c              |    6 +++---
 plugins/excel/ms-excel-write.c             |    4 ++--
 plugins/excel/xlsx-read-docprops.c         |    6 +++---
 plugins/excel/xlsx-read-drawing.c          |    8 ++++----
 plugins/fn-tsa/functions.c                 |    2 +-
 plugins/openoffice/openoffice-read.c       |   14 +++++++-------
 plugins/openoffice/openoffice-write.c      |   10 +++++-----
 src/commands.c                             |    2 +-
 src/dialogs/dialog-stf-format-page.c       |    2 +-
 src/rendered-value.c                       |    2 +-
 src/sheet-object-widget.c                  |    2 +-
 src/tools/analysis-anova.h                 |    4 ++--
 src/tools/analysis-auto-expression.h       |    2 +-
 src/tools/analysis-chi-squared.h           |    4 ++--
 src/tools/analysis-tools.h                 |   12 ++++++------
 src/tools/analysis-wilcoxon-mann-whitney.h |    8 ++++----
 src/tools/random-generator.c               |    4 ++--
 src/wbc-gtk-impl.h                         |    2 +-
 src/wbc-gtk.c                              |    4 ++--
 src/widgets/gnumeric-expr-entry.c          |    4 ++--
 22 files changed, 56 insertions(+), 52 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5f95a1c..ef98ffb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-04  Jean Brefort  <jean brefort normalesup org>
+
+	* src/sheet-object-widget.c (widget_wbc): fixed after goffice change.
+
 2011-08-29  Jean Brefort  <jean brefort normalesup org>
 
 	* src/graph.c (gnm_go_data_scalar_get_str): fix a critical.
diff --git a/plugins/excel/excel.h b/plugins/excel/excel.h
index 0edd5e6..6b31f2d 100644
--- a/plugins/excel/excel.h
+++ b/plugins/excel/excel.h
@@ -15,7 +15,7 @@
 #include "gnumeric.h"
 #include "ms-biff.h"
 
-void excel_read_workbook (GOIOContext *context, WorkbookView *new_wb, 
+void excel_read_workbook (GOIOContext *context, WorkbookView *new_wb,
 			  GsfInput *input,
 			  gboolean *is_double_stream_file,
 			  char const *opt_enc);
diff --git a/plugins/excel/ms-excel-read.c b/plugins/excel/ms-excel-read.c
index 19eb5a7..8b9b7ee 100644
--- a/plugins/excel/ms-excel-read.c
+++ b/plugins/excel/ms-excel-read.c
@@ -1669,7 +1669,7 @@ excel_read_FONT (BiffQuery *q, GnmXLImporter *importer)
 			}
 			if (importer->codepage_override > 0) {
 				fd->codepage = importer->codepage_override;
-				break;				
+				break;
 			}
 		}
 			/* no break */
@@ -3270,7 +3270,7 @@ gnm_xl_get_codepage (char const *enc)
 	for (i = 0; i < G_N_ELEMENTS(charset_trans_array); i++)
 		if (0 == strcmp (enc, charset_trans_array[i].name))
 			return charset_trans_array[i].codepage;
-	
+
 	return 0;
 }
 
@@ -6996,7 +6996,7 @@ excel_read_CODEPAGE (BiffQuery *q, GnmXLImporter *importer)
 }
 
 void
-excel_read_workbook (GOIOContext *context, WorkbookView *wb_view, 
+excel_read_workbook (GOIOContext *context, WorkbookView *wb_view,
 		     GsfInput *input,
 		     gboolean *is_double_stream_file,
 		     char const *opt_enc)
diff --git a/plugins/excel/ms-excel-write.c b/plugins/excel/ms-excel-write.c
index 38e2d41..4f2d392 100644
--- a/plugins/excel/ms-excel-write.c
+++ b/plugins/excel/ms-excel-write.c
@@ -2536,10 +2536,10 @@ cb_cell_pre_pass (gpointer ignored, GnmCell const *cell, ExcelWriteState *ewb)
 		char *text = gnm_cell_get_entered_text (cell);
 		gboolean quoted = (text[0] == '\'');
 		/* No need to synthesize wrap-text if it is already set! */
-		gboolean wrapped = (NULL != strchr (text, '\n')) && 
+		gboolean wrapped = (NULL != strchr (text, '\n')) &&
 			!gnm_style_get_wrap_text (style);
 		g_free (text);
-			
+
 		if (quoted || wrapped) {
 			int xf;
 			ExcelStyleVariant *esv = g_new (ExcelStyleVariant, 1);
diff --git a/plugins/excel/xlsx-read-docprops.c b/plugins/excel/xlsx-read-docprops.c
index eb0a3a7..4e4f180 100644
--- a/plugins/excel/xlsx-read-docprops.c
+++ b/plugins/excel/xlsx-read-docprops.c
@@ -255,7 +255,7 @@ xlsx_read_docprops_core (XLSXReadState *state)
 
 	if (in == NULL) return;
 
-	start_update_progress (state, in, _("Reading core properties..."), 0.9, 0.94);	
+	start_update_progress (state, in, _("Reading core properties..."), 0.9, 0.94);
 	xlsx_parse_stream (state, in, xlsx_docprops_core_dtd);
 	end_update_progress (state);
 }
@@ -272,7 +272,7 @@ xlsx_read_docprops_extended (XLSXReadState *state)
 
 	if (in == NULL) return;
 
-	start_update_progress (state, in, _("Reading extended properties..."), 0.94, 0.97);	
+	start_update_progress (state, in, _("Reading extended properties..."), 0.94, 0.97);
 	xlsx_parse_stream (state, in, xlsx_docprops_extended_dtd);
 	end_update_progress (state);
 }
@@ -289,7 +289,7 @@ xlsx_read_docprops_custom (XLSXReadState *state)
 
 	if (in == NULL) return;
 
-	start_update_progress (state, in, _("Reading custom properties..."), 0.97, 1.);	
+	start_update_progress (state, in, _("Reading custom properties..."), 0.97, 1.);
 	xlsx_parse_stream (state, in, xlsx_docprops_custom_dtd);
 	end_update_progress (state);
 }
diff --git a/plugins/excel/xlsx-read-drawing.c b/plugins/excel/xlsx-read-drawing.c
index e61f946..5121727 100644
--- a/plugins/excel/xlsx-read-drawing.c
+++ b/plugins/excel/xlsx-read-drawing.c
@@ -82,7 +82,7 @@ xlsx_tx_pr (GsfXMLIn *xin, G_GNUC_UNUSED xmlChar const **attrs)
 		state->auto_color = NULL;
 	}
 }
-	
+
 static void
 xlsx_chart_text (GsfXMLIn *xin, G_GNUC_UNUSED GsfXMLBlob *blob)
 {
@@ -822,7 +822,7 @@ xlsx_ser_labels_show_val (GsfXMLIn *xin, xmlChar const **attrs)
 			if (desc->series.dim[i].ms_type == GOG_MS_DIM_VALUES)
 				break;
 		if (i != desc->series.num_dim) {
-			new_f = (f && *f)? g_strdup_printf ("%s%%s%%%d", f, i): g_strdup_printf ("%%%d", i); 
+			new_f = (f && *f)? g_strdup_printf ("%s%%s%%%d", f, i): g_strdup_printf ("%%%d", i);
 			g_object_set (state->cur_obj, "format", new_f, NULL);
 			g_free (new_f);
 		}
@@ -849,7 +849,7 @@ xlsx_ser_labels_show_cat (GsfXMLIn *xin, xmlChar const **attrs)
 			if (desc->series.dim[i].ms_type == GOG_MS_DIM_CATEGORIES)
 				break;
 		if (i != desc->series.num_dim) {
-			new_f = (f && *f)? g_strdup_printf ("%s%%s%%%d", f, i): g_strdup_printf ("%%%d", i); 
+			new_f = (f && *f)? g_strdup_printf ("%s%%s%%%d", f, i): g_strdup_printf ("%%%d", i);
 			g_object_set (state->cur_obj, "format", new_f, NULL);
 			g_free (new_f);
 		}
@@ -983,7 +983,7 @@ xlsx_data_label_show_cat (GsfXMLIn *xin, xmlChar const **attrs)
 			if (desc->series.dim[i].ms_type == GOG_MS_DIM_CATEGORIES)
 				break;
 		if (i != desc->series.num_dim) {
-			new_f = (f && *f)? g_strdup_printf ("%s%%s%%%d", f, i): g_strdup_printf ("%%%d", i); 
+			new_f = (f && *f)? g_strdup_printf ("%s%%s%%%d", f, i): g_strdup_printf ("%%%d", i);
 			g_object_set (state->cur_obj, "format", new_f, NULL);
 			g_free (new_f);
 		}
diff --git a/plugins/fn-tsa/functions.c b/plugins/fn-tsa/functions.c
index ed881bb..29cfe32 100644
--- a/plugins/fn-tsa/functions.c
+++ b/plugins/fn-tsa/functions.c
@@ -928,7 +928,7 @@ gnm_hpfilter (gnm_float *data, int n, gnm_float lambda, int *err)
  	b[n - 1] = 0;
  	c[n - 2] = 0;
  	c[n - 1] = 0;
-	
+
  	/* Forward */
  	for (i = 0; i < n; i++) {
  		denom = a[i]- h[3]*h[0] - g[4]*g[1];
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 0a0a2f6..97dbd94 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -8379,11 +8379,11 @@ odf_selection (GsfXMLIn *xin, xmlChar const **attrs)
 	sv_selection_reset (sheet_get_view (sheet, state->wb_view));
 
 	for (; attrs != NULL && attrs[0] && attrs[1] ; attrs += 2)
-		if (oo_attr_int_range 
-		    (xin, attrs, OO_GNUM_NS_EXT, "cursor-col", &col, 
+		if (oo_attr_int_range
+		    (xin, attrs, OO_GNUM_NS_EXT, "cursor-col", &col,
 		     0, gnm_sheet_get_last_col(sheet))) {
-		} else if (oo_attr_int_range 
-			   (xin, attrs, OO_GNUM_NS_EXT, "cursor-row", &row, 
+		} else if (oo_attr_int_range
+			   (xin, attrs, OO_GNUM_NS_EXT, "cursor-row", &row,
 			    0, gnm_sheet_get_last_row(sheet))) {};
 
 	state->pos.eval.col = col;
@@ -8636,7 +8636,7 @@ odf_apply_ooo_table_config (char const *key, GValue *val, OOParseState *state)
 				GValue *itemy = g_hash_table_lookup (hash, "CursorPositionY");
 				if (itemy != NULL && G_VALUE_HOLDS(itemy, G_TYPE_INT)) {
 					GnmCellPos pos;
-					SheetView *sv 
+					SheetView *sv
 						= sheet_get_view (sheet, state->wb_view);
 					GnmRange r;
 					pos.col = g_value_get_int (item);
@@ -8646,8 +8646,8 @@ odf_apply_ooo_table_config (char const *key, GValue *val, OOParseState *state)
 
 					sv_selection_reset (sv);
 					sv_selection_add_range (sv, &r);
-					sv_set_edit_pos 
-						(sheet_get_view (sheet, state->wb_view), 
+					sv_set_edit_pos
+						(sheet_get_view (sheet, state->wb_view),
 						 &pos);
 				}
 			}
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index ce2b4e9..4cd9443 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -4456,7 +4456,7 @@ odf_write_content (GnmOOExport *state, GsfOutput *child)
 				gsf_xml_out_start_element (state->xml, GNMSTYLE "selections");
 				gsf_xml_out_add_int (state->xml, GNMSTYLE "cursor-col", sv->edit_pos_real.col);
 				gsf_xml_out_add_int (state->xml, GNMSTYLE "cursor-row", sv->edit_pos_real.row);
-				
+
 				/* Insert the selections in REVERSE order */
 				copy = g_slist_copy (sv->selections);
 				ptr = g_slist_reverse (copy);
@@ -4467,7 +4467,7 @@ odf_write_content (GnmOOExport *state, GsfOutput *child)
 					gsf_xml_out_end_element (state->xml); /* </gnm:selection> */
 				}
 				g_slist_free (copy);
-				
+
 				gsf_xml_out_end_element (state->xml); /* </gnm:selections> */
 			}
 		}
@@ -5432,7 +5432,7 @@ odf_write_gnm_settings (GnmOOExport *state)
 	gsf_xml_out_start_element (state->xml, CONFIG "config-item");
 	gsf_xml_out_add_cstr_unchecked (state->xml, CONFIG "name", GNMSTYLE "active-sheet");
 	gsf_xml_out_add_cstr_unchecked (state->xml, CONFIG "type", "string");
-	gsf_xml_out_add_cstr (state->xml, NULL, 
+	gsf_xml_out_add_cstr (state->xml, NULL,
 			      (wb_view_cur_sheet (state->wbv))->name_unquoted);
 	gsf_xml_out_end_element (state->xml); /* </config:config-item> */
 
@@ -5465,7 +5465,7 @@ odf_write_ooo_settings (GnmOOExport *state)
 		SheetView *sv = sheet_get_view (sheet, state->wbv);
 		gsf_xml_out_start_element (state->xml, CONFIG "config-item-map-entry");
 		gsf_xml_out_add_cstr (state->xml, CONFIG "name", sheet->name_unquoted);
-		if (get_gsf_odf_version () < 103  && sheet->tab_color != NULL 
+		if (get_gsf_odf_version () < 103  && sheet->tab_color != NULL
 		    && !sheet->tab_color->is_auto) {
 			/* Not used by LO 3.3.3 and later */
 			gsf_xml_out_start_element (state->xml, CONFIG "config-item");
@@ -5500,7 +5500,7 @@ odf_write_ooo_settings (GnmOOExport *state)
 	gsf_xml_out_start_element (state->xml, CONFIG "config-item");
 	gsf_xml_out_add_cstr_unchecked (state->xml, CONFIG "name", "ActiveTable");
 	gsf_xml_out_add_cstr_unchecked (state->xml, CONFIG "type", "string");
-	gsf_xml_out_add_cstr (state->xml, NULL, 
+	gsf_xml_out_add_cstr (state->xml, NULL,
 			      (wb_view_cur_sheet (state->wbv))->name_unquoted);
 	gsf_xml_out_end_element (state->xml); /* </config:config-item> */
 
diff --git a/src/commands.c b/src/commands.c
index 6c8270d..40f06b9 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -5397,7 +5397,7 @@ cmd_analysis_tool (WorkbookControl *wbc, G_GNUC_UNUSED Sheet *sheet,
 		g_object_unref (me);
 		return TRUE;
 	}
-	me->engine (cc, me->dao, me->specs, TOOL_ENGINE_UPDATE_DESCRIPTOR, 
+	me->engine (cc, me->dao, me->specs, TOOL_ENGINE_UPDATE_DESCRIPTOR,
 		    &me->cmd.cmd_descriptor);
 	me->cmd.sheet = NULL;
 	me->type = dao->type;
diff --git a/src/dialogs/dialog-stf-format-page.c b/src/dialogs/dialog-stf-format-page.c
index 20b6088..1216a9e 100644
--- a/src/dialogs/dialog-stf-format-page.c
+++ b/src/dialogs/dialog-stf-format-page.c
@@ -209,7 +209,7 @@ cb_format_clicked (GtkButton *widget, gpointer _i)
 		 GTK_STOCK_OK,      GTK_RESPONSE_ACCEPT,
 		 GTK_STOCK_CANCEL,  GTK_RESPONSE_REJECT,
 		 NULL);
-	GOFormatSel *format_selector 
+	GOFormatSel *format_selector
 		= GO_FORMAT_SEL (go_format_sel_new_full (TRUE));
 	GtkWidget *w = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
 	GtkTreeViewColumn* column;
diff --git a/src/rendered-value.c b/src/rendered-value.c
index 7f7e11b..9eb45b7 100644
--- a/src/rendered-value.c
+++ b/src/rendered-value.c
@@ -286,7 +286,7 @@ gnm_rendered_value_new (GnmCell const *cell,
 	pango_layout_set_attributes (res->layout, attrs);
 	pango_attr_list_unref (attrs);
 
-	/* Store foreground color.  */	
+	/* Store foreground color.  */
 	/* Wrapping this colour around the attribute list drops performance! */
 	res->go_fore_color = (gnm_style_get_font_color (mstyle))->go_color;
 
diff --git a/src/sheet-object-widget.c b/src/sheet-object-widget.c
index 9d272f4..e50a17c 100644
--- a/src/sheet-object-widget.c
+++ b/src/sheet-object-widget.c
@@ -323,7 +323,7 @@ static GSF_CLASS (SheetObjectWidget, sheet_object_widget,
 static WorkbookControl *
 widget_wbc (GtkWidget *widget)
 {
-	return scg_wbc (GNM_SIMPLE_CANVAS (gtk_widget_get_parent (widget))->scg);
+	return scg_wbc (GNM_SIMPLE_CANVAS (gtk_widget_get_parent (gtk_widget_get_parent (widget)))->scg);
 }
 
 
diff --git a/src/tools/analysis-anova.h b/src/tools/analysis-anova.h
index 18c4a86..f4ee41e 100644
--- a/src/tools/analysis-anova.h
+++ b/src/tools/analysis-anova.h
@@ -49,8 +49,8 @@ typedef struct {
 	gint       n_r;
 } analysis_tools_data_anova_two_factor_t;
 
-gboolean analysis_tool_anova_two_factor_engine (GOCmdContext *gcc, 
-						data_analysis_output_t *dao, 
+gboolean analysis_tool_anova_two_factor_engine (GOCmdContext *gcc,
+						data_analysis_output_t *dao,
 						gpointer specs,
 						analysis_tool_engine_t selector,
 						gpointer result);
diff --git a/src/tools/analysis-auto-expression.h b/src/tools/analysis-auto-expression.h
index 9428814..c727444 100644
--- a/src/tools/analysis-auto-expression.h
+++ b/src/tools/analysis-auto-expression.h
@@ -42,7 +42,7 @@ typedef struct {
 } analysis_tools_data_auto_expression_t;
 
 gboolean analysis_tool_auto_expression_engine (GOCmdContext *gcc,
-					       data_analysis_output_t *dao, 
+					       data_analysis_output_t *dao,
 					       gpointer specs,
 					       analysis_tool_engine_t selector,
 					       gpointer result);
diff --git a/src/tools/analysis-chi-squared.h b/src/tools/analysis-chi-squared.h
index b7dae5a..fcf99ba 100644
--- a/src/tools/analysis-chi-squared.h
+++ b/src/tools/analysis-chi-squared.h
@@ -45,9 +45,9 @@ typedef struct {
 } analysis_tools_data_chi_squared_t;
 
 gboolean analysis_tool_chi_squared_engine (GOCmdContext *gcc,
-					   data_analysis_output_t *dao, 
+					   data_analysis_output_t *dao,
 					   gpointer specs,
-					   analysis_tool_engine_t selector, 
+					   analysis_tool_engine_t selector,
 					   gpointer result);
 
 
diff --git a/src/tools/analysis-tools.h b/src/tools/analysis-tools.h
index cb92f51..5c5e052 100644
--- a/src/tools/analysis-tools.h
+++ b/src/tools/analysis-tools.h
@@ -39,19 +39,19 @@ typedef struct {
 
 /**************** Correlation Tool ***************/
 
-gboolean analysis_tool_correlation_engine (GOCmdContext *gcc, 
-					   data_analysis_output_t *dao, 
+gboolean analysis_tool_correlation_engine (GOCmdContext *gcc,
+					   data_analysis_output_t *dao,
 					   gpointer specs,
-					   analysis_tool_engine_t selector, 
+					   analysis_tool_engine_t selector,
 					   gpointer result);
 
 
 /**************** Covariance Tool  ***************/
 
-gboolean analysis_tool_covariance_engine (GOCmdContext *gcc, 
-					  data_analysis_output_t *dao, 
+gboolean analysis_tool_covariance_engine (GOCmdContext *gcc,
+					  data_analysis_output_t *dao,
 					  gpointer specs,
-					  analysis_tool_engine_t selector, 
+					  analysis_tool_engine_t selector,
 					  gpointer result);
 
 
diff --git a/src/tools/analysis-wilcoxon-mann-whitney.h b/src/tools/analysis-wilcoxon-mann-whitney.h
index 0937b56..21eb3f9 100644
--- a/src/tools/analysis-wilcoxon-mann-whitney.h
+++ b/src/tools/analysis-wilcoxon-mann-whitney.h
@@ -34,11 +34,11 @@
 #include "analysis-tools.h"
 #include "sheet.h"
 
-gboolean 
-analysis_tool_wilcoxon_mann_whitney_engine (GOCmdContext *gcc, 
-					    data_analysis_output_t *dao, 
+gboolean
+analysis_tool_wilcoxon_mann_whitney_engine (GOCmdContext *gcc,
+					    data_analysis_output_t *dao,
 					    gpointer specs,
-					    analysis_tool_engine_t selector, 
+					    analysis_tool_engine_t selector,
 					    gpointer result);
 
 
diff --git a/src/tools/random-generator.c b/src/tools/random-generator.c
index 544bbef..19d4143 100644
--- a/src/tools/random-generator.c
+++ b/src/tools/random-generator.c
@@ -464,7 +464,7 @@ tool_random_engine_run_rayleigh (GOCmdContext *gcc, data_analysis_output_t *dao,
 }
 
 static gboolean
-tool_random_engine_run_rayleigh_tail (GOCmdContext *gcc, 
+tool_random_engine_run_rayleigh_tail (GOCmdContext *gcc,
 				      data_analysis_output_t *dao,
 				      tools_data_random_t *info,
 				      rayleigh_tail_random_tool_t *param)
@@ -674,7 +674,7 @@ tool_random_engine_run_laplace (GOCmdContext *gcc, data_analysis_output_t *dao,
 }
 
 static gboolean
-tool_random_engine_run_gaussian_tail (GOCmdContext *gcc, 
+tool_random_engine_run_gaussian_tail (GOCmdContext *gcc,
 				      data_analysis_output_t *dao,
 				      tools_data_random_t *info,
 				      gaussian_tail_random_tool_t *param)
diff --git a/src/wbc-gtk-impl.h b/src/wbc-gtk-impl.h
index 96777e4..7070786 100644
--- a/src/wbc-gtk-impl.h
+++ b/src/wbc-gtk-impl.h
@@ -106,7 +106,7 @@ struct _WBCGtk {
 	GtkWidget	 *status_area;
 	int status_area_width;
 	GtkUIManager     *ui;
-	GtkActionGroup   *permanent_actions, *actions, *font_actions, 
+	GtkActionGroup   *permanent_actions, *actions, *font_actions,
 			 *data_only_actions, *semi_permanent_actions;
 	struct {
 		GtkActionGroup   *actions;
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 30ada44..f14140e 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -4928,7 +4928,7 @@ wbc_gtk_create_status_area (WBCGtk *wbcg)
 	wbcg->progress_bar = gtk_progress_bar_new ();
 	gtk_progress_bar_set_text (GTK_PROGRESS_BAR (wbcg->progress_bar), " ");
 	gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (wbcg->progress_bar), FALSE);
-	gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR (wbcg->progress_bar), 
+	gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR (wbcg->progress_bar),
 					PANGO_ELLIPSIZE_END);
 	g_object_set (G_OBJECT (wbcg->progress_bar), "show-text", TRUE, NULL);
 
@@ -4954,7 +4954,7 @@ wbc_gtk_create_status_area (WBCGtk *wbcg)
 		gtk_widget_get_pango_context (GTK_WIDGET (wbcg->toplevel)),
 		gtk_style_context_get_font (gtk_widget_get_style_context (tmp), GTK_STATE_NORMAL),
 	        "W") * 5, -1);
-	
+
 
 	wbcg->tabs_paned = GTK_PANED (gtk_paned_new (GTK_ORIENTATION_HORIZONTAL));
 	gtk_paned_pack2 (wbcg->tabs_paned, wbcg->progress_bar, FALSE, TRUE);
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index ca12831..92af1cc 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -739,8 +739,8 @@ gee_create_tooltip (GnmExprEntry *gee, gchar const *str,
 	gdk_window_get_origin (gdkw, &root_x, &root_y);
 	gtk_widget_get_allocation (GTK_WIDGET (gee->entry), &allocation);
 
-	gtk_window_move (GTK_WINDOW (tip), 
-			 root_x + allocation.x, 
+	gtk_window_move (GTK_WINDOW (tip),
+			 root_x + allocation.x,
 			 root_y + allocation.y + allocation.height);
 
 	gtk_widget_show_all (tip);



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