[gobject-introspection] Initialize GIMarshallingTestsBoxedStruct so we can test its values
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Initialize GIMarshallingTestsBoxedStruct so we can test its values
- Date: Wed, 19 Jan 2011 18:10:50 +0000 (UTC)
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]