[gnumeric] Use gog_style_new() again.



commit d82b4c0196ff6d9dc3c3edc17f3369f2cec97013
Author: Jean Brefort <jean brefort normalesup org>
Date:   Thu Feb 14 21:04:50 2013 +0100

    Use gog_style_new() again.

 plugins/excel/ChangeLog           |   11 +++++++----
 plugins/excel/ms-chart.c          |    4 ++--
 plugins/excel/xlsx-read-drawing.c |    2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index e0c678e..798301c 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,9 +1,12 @@
-2013-02-10  Jean Brefort  <jean brefort normalesup org>
+2013-02-14  Jean Brefort  <jean brefort normalesup org>
+
+       * ms-chart.c (get_style): reversed previous change.
+       * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
 
-       reviewed by: <delete if not using a buddy>
+2013-02-10  Jean Brefort  <jean brefort normalesup org>
 
-       * ms-chart.c (get_style):
-       * xlsx-read-drawing.c (xlsx_style_line_start):
+       * ms-chart.c (get_style): use go_style_new() instead of gog_style_new().
+       * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
 
 2013-02-10  Jean Brefort  <jean brefort normalesup org>
 
diff --git a/plugins/excel/ms-chart.c b/plugins/excel/ms-chart.c
index a28eb94..a9c4f9d 100644
--- a/plugins/excel/ms-chart.c
+++ b/plugins/excel/ms-chart.c
@@ -182,7 +182,7 @@ static void
 BC_R(get_style) (XLChartReadState *s)
 {
        if (s->style == NULL)
-               s->style = go_style_new ();
+               s->style = gog_style_new ();
 }
 
 static int
@@ -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 = go_style_new ();
+                       GOStyle *style = gog_style_new ();
                        style->line.width = 0;
                        style->line.dash_type = GO_LINE_NONE;
                        style->fill.type = GO_STYLE_FILL_NONE;
diff --git a/plugins/excel/xlsx-read-drawing.c b/plugins/excel/xlsx-read-drawing.c
index edc0a9f..b32a2cd 100644
--- a/plugins/excel/xlsx-read-drawing.c
+++ b/plugins/excel/xlsx-read-drawing.c
@@ -1153,7 +1153,7 @@ xlsx_style_line_start (GsfXMLIn *xin, xmlChar const **attrs)
        XLSXReadState   *state = (XLSXReadState *)xin->user_state;
        state->sp_type |= GO_STYLE_LINE;
        if (!state->cur_style)
-               state->cur_style = go_style_new ();
+               state->cur_style = gog_style_new ();
        state->gocolor = &state->cur_style->line.color;
 }
 


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