aboutsummaryrefslogtreecommitdiff
path: root/src/slide_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-11-18 21:48:36 +0100
committerThomas White <taw@bitwiz.org.uk>2014-11-18 21:48:36 +0100
commit9032c5376c84fd1bbe1112529c5a376cb6d6c5ab (patch)
treeb3c138716d978e7a7686203b14404d30675e4968 /src/slide_window.c
parentb0b508533b4faf9e7923177bd468c659831b73e8 (diff)
Derive from GtkDrawingArea (properly)
Diffstat (limited to 'src/slide_window.c')
-rw-r--r--src/slide_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slide_window.c b/src/slide_window.c
index 6a1cb11..2ea595f 100644
--- a/src/slide_window.c
+++ b/src/slide_window.c
@@ -607,7 +607,7 @@ SlideWindow *slide_window_open(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(sw->sceditor));
+ GTK_WIDGET(sw->sceditor));
/* Size of SCEditor surface in pixels */
/* FIXME: Somewhat arbitrary. Should come from slide itself */