aboutsummaryrefslogtreecommitdiff
path: root/src/slide_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-09-30 23:18:31 +0200
committerThomas White <taw@bitwiz.org.uk>2014-09-30 23:18:31 +0200
commite621e284f7fe1208ad1e9556eb3c8e2598aabf55 (patch)
tree881b70d192e630c68868f2f874b24ffc4f53999d /src/slide_window.c
parent2931d57e2bb25d44e6b70e18935fe1530b8dd4a5 (diff)
WIP
Diffstat (limited to 'src/slide_window.c')
-rw-r--r--src/slide_window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slide_window.c b/src/slide_window.c
index 9163c69..0ca5f8f 100644
--- a/src/slide_window.c
+++ b/src/slide_window.c
@@ -609,6 +609,10 @@ SlideWindow *slide_window_open(struct presentation *p, GApplication *app)
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll),
sc_editor_get_widget(sw->sceditor));
+ /* Size of SCEditor surface in pixels */
+ /* FIXME: Somewhat arbitrary. Should come from slide itself */
+ sc_editor_set_size(sw->sceditor, 1024, 768);
+
add_menu_bar(sw, vbox);
gtk_box_pack_start(GTK_BOX(vbox), scroll, TRUE, TRUE, 0);