[evolution] e-text: remove property that is never set



commit 86f388e13a518e6853df8e429f504fcd74853c29
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jun 14 00:36:21 2012 -0400

    e-text: remove property that is never set

 widgets/text/e-text.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index bfa85b2..f37b617 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1344,10 +1344,7 @@ e_text_draw (GnomeCanvasItem *item,
 			gint indices[2];
 			GtkStateType state;
 
-			if (text->has_selection)
-				state = GTK_STATE_SELECTED;
-			else
-				state = GTK_STATE_ACTIVE;
+			state = GTK_STATE_ACTIVE;
 
 			indices[0] = MIN (
 				text->selection_start,
@@ -3304,8 +3301,6 @@ e_text_init (EText *text)
 	text->tep                     = NULL;
 	text->tep_command_id          = 0;
 
-	text->has_selection           = FALSE;
-
 	text->pointer_in              = FALSE;
 	text->default_cursor_shown    = TRUE;
 	text->line_wrap               = FALSE;



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