aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-11-21 23:47:51 +0100
committerThomas White <taw@bitwiz.org.uk>2014-11-21 23:47:51 +0100
commit85570d136f664b3c75151e06e686723be95f00c0 (patch)
tree9a6010a0b03c4d6d0b0e9c8c23deafe3649dea17 /src/sc_editor.c
parent2413cd7f20bbf24375f04d740daeb8743a501a1a (diff)
WIP on patching up SlideShow
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)
{