[glib] tests/gobject: Use G_VALUE_INIT



commit 4a25d21bd08b7dcf38f781bf678ee8fffe817203
Author: Javier JardÃn <jjardon gnome org>
Date:   Sun Oct 2 17:58:16 2011 +0100

    tests/gobject: Use G_VALUE_INIT

 tests/gobject/override.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/gobject/override.c b/tests/gobject/override.c
index f812e03..22535a8 100644
--- a/tests/gobject/override.c
+++ b/tests/gobject/override.c
@@ -94,7 +94,7 @@ struct _TestAClass {
 static void
 test_a_foo (TestI *self)
 {
-  GValue args[1] = { { 0, } };
+  GValue args[1] = { G_VALUE_INIT };
 
   record ("TestA::foo");
 
@@ -179,7 +179,7 @@ struct _TestBClass {
 static void
 test_b_foo (TestI *self)
 {
-  GValue args[1] = { { 0, } };
+  GValue args[1] = { G_VALUE_INIT };
 
   record ("TestB::foo");
 
@@ -195,7 +195,7 @@ test_b_foo (TestI *self)
 static void
 test_b_bar (TestA *self)
 {
-  GValue args[1] = { { 0, } };
+  GValue args[1] = { G_VALUE_INIT };
 
   record ("TestB::bar");
 
@@ -267,7 +267,7 @@ struct _TestCClass {
 static void
 test_c_foo (TestI *self)
 {
-  GValue args[1] = { { 0, } };
+  GValue args[1] = { G_VALUE_INIT };
 
   record ("TestC::foo");
 
@@ -283,7 +283,7 @@ test_c_foo (TestI *self)
 static void
 test_c_bar (TestA *self)
 {
-  GValue args[1] = { { 0, } };
+  GValue args[1] = { G_VALUE_INIT };
 
   record ("TestC::bar");
 



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