aboutsummaryrefslogtreecommitdiff
path: root/tests/render_test_sc1.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-09-13 17:08:09 +0200
committerThomas White <taw@bitwiz.org.uk>2013-09-13 17:08:09 +0200
commit130f825a50bcb0656aba43c98d3cfc2e0b2f0203 (patch)
treee6cb6d60078594aeea695526b9940c8e8501d942 /tests/render_test_sc1.c
parent6dad73c50b6e35e36b955e9b771808226f44f2c8 (diff)
Fix tests
Diffstat (limited to 'tests/render_test_sc1.c')
-rw-r--r--tests/render_test_sc1.c5
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);