summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-10-02 17:58:16 +0100
committerJavier Jardón <jjardon@gnome.org>2011-10-18 17:12:33 +0100
commit4a25d21bd08b7dcf38f781bf678ee8fffe817203 (patch)
tree967dfe29c0c90aa744e7c624011e4fb9ef3a16a1 /tests
parent108480b7baad8d02b7b0f9729146a04ad09219de (diff)
tests/gobject: Use G_VALUE_INIT
Diffstat (limited to 'tests')
-rw-r--r--tests/gobject/override.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gobject/override.c b/tests/gobject/override.c
index f812e0305..22535a87d 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");