[goffice] invalidate graph bounds after setting horizontal position.



commit d3c2f3cbe3d82bad21fde5ec9502829f6f83bf28
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sun Dec 13 13:08:36 2009 +0100

    invalidate graph bounds after setting horizontal position.

 ChangeLog                  |    5 +++++
 goffice/canvas/goc-graph.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 16b7da3..8de8da5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-13  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/canvas/goc-graph.c (goc_graph_set_property): invalidate bounds
+	after setting horizontal position.
+
 2009-12-10  Jean Brefort  <jean brefort normalesup org>
 
 	* docs/reference/goffice-0.8-sections.txt: add new function.
diff --git a/goffice/canvas/goc-graph.c b/goffice/canvas/goc-graph.c
index 4a01ea5..4808deb 100644
--- a/goffice/canvas/goc-graph.c
+++ b/goffice/canvas/goc-graph.c
@@ -59,7 +59,7 @@ goc_graph_set_property (GObject *obj, guint param_id,
 		if (x == graph->x)
 			return;
 		graph->x = x;
-		return;
+		break;
 	}
 	case GRAPH_PROP_Y: {
 		double y = g_value_get_double (value);



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