diff options
author | Thomas White <taw@bitwiz.org.uk> | 2015-02-07 10:47:17 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2015-02-07 10:47:17 +0100 |
commit | 9e2f73215ba786a9f20b9314dccc559c8d196055 (patch) | |
tree | 918bc307835344106942bd174c668bf3c510f52f /src/narrative_window.c | |
parent | beac19ff683680df00d05070f707f06764941e97 (diff) |
Revert a couple of container_add to scrolled_window_add_with_viewport
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r-- | src/narrative_window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c index eedd96e..50de384 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -338,7 +338,8 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *app) scroll = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); - gtk_container_add(GTK_CONTAINER(scroll), GTK_WIDGET(nw->sceditor)); + gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), + GTK_WIDGET(nw->sceditor)); sc_editor_set_size(nw->sceditor, 640, 12000); sc_editor_set_logical_size(nw->sceditor, 640.0, 12000); |