[gobject-introspection] Initialize GIMarshallingTestsBoxedStruct so we can test its values



commit 37f8f2348b68c3463ce029731345e0a919a67157
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Wed Jan 19 19:09:25 2011 +0100

    Initialize GIMarshallingTestsBoxedStruct so we can test its values

 tests/gimarshallingtests.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 54f8835..fc2cfaf 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);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]