summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-01-19 19:09:25 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-01-19 19:10:20 +0100
commit37f8f2348b68c3463ce029731345e0a919a67157 (patch)
tree62769ec32502712437ce822dec57213ae538f6cb /tests
parent8ae994ef54a040bcf2e3b9f71d4a5c1d5ede98d5 (diff)
downloadgobject-introspection-37f8f2348b68c3463ce029731345e0a919a67157.tar.gz
Initialize GIMarshallingTestsBoxedStruct so we can test its values
Diffstat (limited to 'tests')
-rw-r--r--tests/gimarshallingtests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 54f88353..fc2cfaf7 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -2677,7 +2677,7 @@ gi_marshalling_tests_boxed_struct_get_type (void)
GIMarshallingTestsBoxedStruct *
gi_marshalling_tests_boxed_struct_new (void)
{
- return g_slice_new (GIMarshallingTestsBoxedStruct);
+ return g_slice_new0 (GIMarshallingTestsBoxedStruct);
}
/**