From 86f388e13a518e6853df8e429f504fcd74853c29 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Thu, 14 Jun 2012 00:36:21 -0400 Subject: e-text: remove property that is never set --- widgets/text/e-text.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'widgets/text') 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; -- cgit v1.2.3