aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-06-14 12:36:21 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2012-06-18 22:27:00 +0800
commit86f388e13a518e6853df8e429f504fcd74853c29 (patch)
tree01c11a0fa6b96c8335729c013a7762b16a496ad9 /widgets
parent71bc5588d3f5f0a35b7c56638cfd9972e32fe489 (diff)
downloadgsoc2013-evolution-86f388e13a518e6853df8e429f504fcd74853c29.tar.gz
gsoc2013-evolution-86f388e13a518e6853df8e429f504fcd74853c29.tar.zst
gsoc2013-evolution-86f388e13a518e6853df8e429f504fcd74853c29.zip
e-text: remove property that is never set
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;