aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/render_test.c5
-rw-r--r--tests/render_test_sc1.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/render_test.c b/tests/render_test.c
index 15b6838..81d3dcd 100644
--- a/tests/render_test.c
+++ b/tests/render_test.c
@@ -77,6 +77,7 @@ int main(int argc, char *argv[])
struct style *sty1;
struct style *sty2;
struct slide s;
+ struct presentation p;
gtk_init(&argc, &argv);
@@ -137,6 +138,10 @@ int main(int argc, char *argv[])
s.rendered_edit = NULL;
s.rendered_proj = NULL;
s.rendered_thumb = NULL;
+ s.constants = NULL;
+ s.parent = &p;
+
+ p.constants = NULL;
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
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);