[goffice] Fixed line plots rendering after recent changes.



commit ae431f519a2a9d4f76ab6ceba3531a2e72e6b959
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Aug 5 16:25:22 2013 +0200

    Fixed line plots rendering after recent changes.

 plugins/plot_barcol/gog-line.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/plot_barcol/gog-line.c b/plugins/plot_barcol/gog-line.c
index e7ed577..2a0e188 100644
--- a/plugins/plot_barcol/gog-line.c
+++ b/plugins/plot_barcol/gog-line.c
@@ -1003,9 +1003,9 @@ gog_line_view_render (GogView *view, GogViewAllocation const *bbox)
                if (series[i]->has_drop_lines) {
                        if (!role)
                                role = gog_object_find_role_by_name (
-                                                       GOG_OBJECT (series), "Drop lines");
+                                                       GOG_OBJECT (series[i]), "Drop lines");
                        lines[i] = GOG_SERIES_LINES (
-                                       gog_object_get_child_by_role (GOG_OBJECT (series), role));
+                                       gog_object_get_child_by_role (GOG_OBJECT (series[i]), role));
                        drop_paths [i] = go_path_new ();
                } else
                        lines[i] = NULL;


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