[goffice] Revert last GocItem change



commit f7167688718463310b8b579b58b89a6ce75afff5
Author: Jean Brefort <jean brefort normalesup org>
Date:   Tue Mar 2 22:16:25 2010 +0100

    Revert last GocItem change

 goffice/canvas/goc-item.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/goffice/canvas/goc-item.c b/goffice/canvas/goc-item.c
index 860b3d5..9874a8e 100644
--- a/goffice/canvas/goc-item.c
+++ b/goffice/canvas/goc-item.c
@@ -274,8 +274,9 @@ _goc_item_update_bounds (GocItem *item)
 	GocItemClass *klass = GOC_ITEM_GET_CLASS (item);
 	g_return_if_fail (klass != NULL);
 
-	item->x0 = item->y0 = G_MAXDOUBLE;
-	item->x1 = item->y1 = -G_MAXDOUBLE;
+/* removed because it breakd item-edit
+	 item->x0 = item->y0 = G_MAXDOUBLE;
+	item->x1 = item->y1 = -G_MAXDOUBLE;*/
 	if (klass->update_bounds)
 		klass->update_bounds (item);
 	item->cached_bounds = TRUE;



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