aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 70e1160..91db62d 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -73,7 +73,7 @@ static void rerender(SCEditor *e)
/* Force a redraw of the editor window */
-void redraw_editor(SCEditor *e)
+static void redraw_editor(SCEditor *e)
{
gint w, h;
@@ -83,6 +83,11 @@ void redraw_editor(SCEditor *e)
gtk_widget_queue_draw_area(GTK_WIDGET(e), 0, 0, w, h);
}
+/* Force a redraw of the editor window */
+void sc_editor_redraw(SCEditor *e)
+{
+ redraw_editor(e);
+}
static void move_cursor_back(SCEditor *e)
{