aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/gtk/gtknarrativeview.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-04-16 00:28:39 +0200
committerThomas White <taw@bitwiz.me.uk>2019-04-16 00:28:39 +0200
commit06075d2dce80ee439249cbf4e4cae6209eb6b550 (patch)
treeb62689d6ea1234606ad3f47d97a7d744ccf30659 /libstorycode/gtk/gtknarrativeview.c
parent5ffe58d92a54ac4286b2e3aeae139e2f88a3b702 (diff)
Redraw narrative window on stylesheet change
Diffstat (limited to 'libstorycode/gtk/gtknarrativeview.c')
-rw-r--r--libstorycode/gtk/gtknarrativeview.c7
1 files changed, 7 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);
+}