X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fgobject%2Foverride.c;h=22535a87d205865ee8a22732bd4f76b8060b4a1d;hb=147c398cd05d71fb172d3788b9dc576c67141811;hp=f812e03057b7dbc288b9749e7e18cbf24d8ea7d7;hpb=5e3c122e6c1fb35ed1a2cb0b76e62a519251fb33;p=platform%2Fupstream%2Fglib2.0.git 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");