[goffice] Fixed matrix plot update.
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Fixed matrix plot update.
- Date: Mon, 10 Jun 2013 20:01:05 +0000 (UTC)
commit 84df718cdc3f743f0cf69de14768c93c7355eab2
Author: Jean Brefort <jean brefort normalesup org>
Date: Mon Jun 10 22:09:29 2013 +0200
Fixed matrix plot update.
ChangeLog | 5 +++++
plugins/plot_surface/gog-matrix.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 70c7165..1fbabc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-06-10 Jean Brefort <jean brefort normalesup org>
+ * plugins/plot_surface/gog-matrix.c (gog_matrix_view_render): ensure that
+ the plot is always rendered.
+
+2013-06-10 Jean Brefort <jean brefort normalesup org>
+
* plugins/plot_surface/gog-xyz-surface-prefs.c
(cb_missing_as_changed), (gog_xyz_surface_plot_pref): fixed "missing as"
combo box.
diff --git a/plugins/plot_surface/gog-matrix.c b/plugins/plot_surface/gog-matrix.c
index ca24c50..3d7373f 100644
--- a/plugins/plot_surface/gog-matrix.c
+++ b/plugins/plot_surface/gog-matrix.c
@@ -141,7 +141,7 @@ gog_matrix_view_render (GogView *view, GogViewAllocation const *bbox)
if (plot->plotted_data)
data = plot->plotted_data;
else
- return;
+ data = GOG_XYZ_PLOT (plot)->plotted_data = gog_matrix_plot_build_matrix (GOG_XYZ_PLOT (plot),
NULL);
x_map = gog_axis_map_new (plot->base.axis[0],
view->residual.x , view->residual.w);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]