aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-10-23 16:01:37 +0100
committerThomas White <taw@bitwiz.org.uk>2015-10-23 16:01:37 +0100
commit548a3256d607ca564b25a98e7f4d8286fb07e6dd (patch)
tree41ecdf92993e535ae2a89a9bcfea8e154c21f791 /src/sc_editor.c
parent0c834391b9e544de81153d7dda1b064ce202933b (diff)
No need for need_draw
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index b41cb9e..2e1d17b 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -115,7 +115,6 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event,
e->top->y = 0.0;
wrap_contents(e->top); /* Only the top level needs to be wrapped */
update_size(e);
- e->need_draw = 1;
return FALSE;
}
@@ -289,7 +288,6 @@ static void full_rerender(SCEditor *e)
recursive_wrap(e->top, e->is, ISZ_EDITOR);
update_size(e);
- e->need_draw = 1;
sc_editor_redraw(e);
}
@@ -1745,7 +1743,6 @@ SCEditor *sc_editor_new(SCBlock *scblocks, SCBlock **stylesheets)
sceditor->cbl = NULL;
sceditor->scroll_pos = 0;
sceditor->flow = 0;
- sceditor->need_draw = 1;
sceditor->stylesheets = copy_ss_list(stylesheets);