diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-09-13 17:08:09 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-09-13 17:08:09 +0200 |
commit | 130f825a50bcb0656aba43c98d3cfc2e0b2f0203 (patch) | |
tree | e6cb6d60078594aeea695526b9940c8e8501d942 | |
parent | 6dad73c50b6e35e36b955e9b771808226f44f2c8 (diff) |
Fix tests
-rw-r--r-- | tests/render_test.c | 5 | ||||
-rw-r--r-- | tests/render_test_sc1.c | 5 |
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); |