aboutsummaryrefslogtreecommitdiff
path: root/libstorycode
diff options
context:
space:
mode:
Diffstat (limited to 'libstorycode')
-rw-r--r--libstorycode/gtk/gtknarrativeview.c7
-rw-r--r--libstorycode/gtk/gtknarrativeview.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/libstorycode/gtk/gtknarrativeview.c b/libstorycode/gtk/gtknarrativeview.c
index 3a293b3..2425092 100644
--- a/libstorycode/gtk/gtknarrativeview.c
+++ b/libstorycode/gtk/gtknarrativeview.c
@@ -1224,3 +1224,10 @@ void gtk_narrative_view_add_slide_at_cursor(GtkNarrativeView *e)
emit_change_sig(e);
redraw(e);
}
+
+
+extern void gtk_narrative_view_redraw(GtkNarrativeView *e)
+{
+ emit_change_sig(e);
+ redraw(e);
+}
diff --git a/libstorycode/gtk/gtknarrativeview.h b/libstorycode/gtk/gtknarrativeview.h
index 82fd215..fd589c5 100644
--- a/libstorycode/gtk/gtknarrativeview.h
+++ b/libstorycode/gtk/gtknarrativeview.h
@@ -111,4 +111,6 @@ extern int gtk_narrative_view_get_cursor_para(GtkNarrativeView *e);
extern void gtk_narrative_view_set_cursor_para(GtkNarrativeView *e, signed int pos);
extern void gtk_narrative_view_add_slide_at_cursor(GtkNarrativeView *e);
+extern void gtk_narrative_view_redraw(GtkNarrativeView *e);
+
#endif /* GTK_NARRATIVE_VIEW_H */