[goffice] Simplify third axis selection
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Simplify third axis selection
- Date: Sun, 9 Jun 2013 15:36:25 +0000 (UTC)
commit 43b6d03af8ee8423a86a490d7692f5c1d923f0ee
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Jun 9 17:34:24 2013 +0200
Simplify third axis selection
plugins/plot_surface/gog-xyz-surface.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/plugins/plot_surface/gog-xyz-surface.c b/plugins/plot_surface/gog-xyz-surface.c
index 5f42943..5600856 100644
--- a/plugins/plot_surface/gog-xyz-surface.c
+++ b/plugins/plot_surface/gog-xyz-surface.c
@@ -560,10 +560,7 @@ gog_xyz_surface_plot_update (GogObject *obj)
g_free (model->plotted_data);
model->plotted_data = gog_xyz_plot_build_matrix (model, NULL);
if (model->plotted_data) {
- gog_axis_bound_changed (model->base.axis[GOG_IS_CONTOUR_PLOT (model)?
- GOG_AXIS_PSEUDO_3D:
- (GOG_IS_MATRIX_PLOT (model)?
- GOG_AXIS_COLOR: GOG_AXIS_Z)],
+ gog_axis_bound_changed (model->base.axis[GOG_XYZ_PLOT_GET_CLASS (model)->third_axis],
GOG_OBJECT (model));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]