[gnumeric] Don't use deprecated gog_style_new().
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Don't use deprecated gog_style_new().
- Date: Tue, 5 Feb 2013 10:50:47 +0000 (UTC)
commit 37c5824de0b1a9cc5d0c8df361d119de3c43011c
Author: Jean Brefort <jean brefort normalesup org>
Date: Tue Feb 5 11:55:12 2013 +0100
Don't use deprecated gog_style_new().
plugins/excel/ChangeLog | 4 ++++
plugins/excel/ms-chart.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 780b006..01e4ce7 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-05 Jean Brefort <jean brefort normalesup org>
+
+ * ms-chart.c (ms_excel_chart_read): don't use deprecated gog_style_new().
+
2013-01-03 Morten Welinder <terra gnome org>
* ms-excel-read.h (XL_EXTERNSHEET_MAGIC_SELFREF)
diff --git a/plugins/excel/ms-chart.c b/plugins/excel/ms-chart.c
index a9c4f9d..30ce818 100644
--- a/plugins/excel/ms-chart.c
+++ b/plugins/excel/ms-chart.c
@@ -3582,7 +3582,7 @@ ms_excel_chart_read (BiffQuery *q, MSContainer *container,
state.chart = GOG_CHART (gog_object_add_by_name (GOG_OBJECT (state.graph), "Chart", NULL));
if (NULL != full_page) {
- GOStyle *style = gog_style_new ();
+ GOStyle *style = go_style_new ();
style->line.width = 0;
style->line.dash_type = GO_LINE_NONE;
style->fill.type = GO_STYLE_FILL_NONE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]