diff options
Diffstat (limited to 'tests/render_test_sc1.c')
-rw-r--r-- | tests/render_test_sc1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c index 843ac2b..25dccc0 100644 --- a/tests/render_test_sc1.c +++ b/tests/render_test_sc1.c @@ -73,6 +73,7 @@ int main(int argc, char *argv[]) struct style *sty; struct style *sty2; struct slide s; + struct presentation p; gtk_init(&argc, &argv); @@ -126,6 +127,10 @@ int main(int argc, char *argv[]) s.rendered_edit = NULL; s.rendered_proj = NULL; s.rendered_thumb = NULL; + s.parent = &p; + s.constants = NULL; + + p.constants = NULL; window = gtk_window_new(GTK_WINDOW_TOPLEVEL); |