aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/text/e-text.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index bfa85b2cd6..f37b61734f 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;