aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 931cf6f..d868bda 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -158,7 +158,7 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *app)
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll),
- sc_editor_get_widget(nw->sceditor));
+ GTK_WIDGET(nw->sceditor));
/* Size of SCEditor surface in pixels */
/* FIXME: Somewhat arbitrary. Should come from slide itself */