[evolution/foocanvas] Fixup e_text: Don't initialise the clipping box to -1.



commit 5bfd3f780a7b0e48e1754b14b2b3643fbec6b6a1
Author: H.Habighorst <h habighorst googlemail com>
Date:   Tue May 11 18:09:41 2010 +0200

    Fixup e_text: Don't initialise the clipping box to -1.

 widgets/text/e-text.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index bbfa96a..6bb20e7 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -170,8 +170,6 @@ static gboolean e_text_delete_surrounding_cb   (GtkIMContext *context,
 
 static GdkAtom clipboard_atom = GDK_NONE;
 
-
-
 /* Dispose handler for the text item */
 
 #if 0
@@ -3604,8 +3602,8 @@ e_text_init (EText *text)
 
 	text->anchor                  = GTK_ANCHOR_CENTER;
 	text->justification           = GTK_JUSTIFY_LEFT;
-	text->clip_width              = -1.0;
-	text->clip_height             = -1.0;
+	text->clip_width              = 0.0;
+	text->clip_height             = 0.0;
 	text->x			      = 0.0;
 	text->y			      = 0.0;
 	text->xofs                    = 0.0;



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