aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-11-17 23:51:29 +0100
committerThomas White <taw@bitwiz.org.uk>2014-11-17 23:51:29 +0100
commit0b3028d4b56b2b37c992d298189ca4fba3a5071e (patch)
treedecc95945e836f8c4c5c3bceb4d3f6e3b8451cf4 /src/narrative_window.c
parentaa50d04c76414d1a558811afa22fb540edb8a90a (diff)
GObjectification, part I
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 */