diff options
-rw-r--r-- | src/sc_editor.c | 3 | ||||
-rw-r--r-- | src/sc_editor.h | 1 |
2 files changed, 0 insertions, 4 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); diff --git a/src/sc_editor.h b/src/sc_editor.h index a6276ee..f11a842 100644 --- a/src/sc_editor.h +++ b/src/sc_editor.h @@ -105,7 +105,6 @@ struct _sceditor double scroll_pos; int visible_height; int flow; - int need_draw; /* Pointers to the frame currently being edited */ struct frame *selection; |