summaryrefslogtreecommitdiff
path: root/tests/gobject/paramspec-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gobject/paramspec-test.c')
-rw-r--r--tests/gobject/paramspec-test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gobject/paramspec-test.c b/tests/gobject/paramspec-test.c
index d09945b3b..b0d4240b3 100644
--- a/tests/gobject/paramspec-test.c
+++ b/tests/gobject/paramspec-test.c
@@ -36,7 +36,7 @@ static void
test_param_spec_char (void)
{
GParamSpec *pspec;
- GValue value = { 0, };
+ GValue value = G_VALUE_INIT;
gboolean modified;
pspec = g_param_spec_char ("char", "nick", "blurb",
@@ -90,7 +90,7 @@ static void
test_param_spec_string (void)
{
GParamSpec *pspec;
- GValue value = { 0, };
+ GValue value = G_VALUE_INIT;
gboolean modified;
pspec = g_param_spec_string ("string", "nick", "blurb",
@@ -162,7 +162,7 @@ static void
test_param_spec_override (void)
{
GParamSpec *ospec, *pspec;
- GValue value = { 0, };
+ GValue value = G_VALUE_INIT;
gboolean modified;
ospec = g_param_spec_char ("char", "nick", "blurb",
@@ -202,7 +202,7 @@ static void
test_param_spec_gtype (void)
{
GParamSpec *pspec;
- GValue value = { 0, };
+ GValue value = G_VALUE_INIT;
gboolean modified;
pspec = g_param_spec_gtype ("gtype", "nick", "blurb",
@@ -226,7 +226,7 @@ static void
test_param_spec_variant (void)
{
GParamSpec *pspec;
- GValue value = { 0, };
+ GValue value = G_VALUE_INIT;
gboolean modified;
pspec = g_param_spec_variant ("variant", "nick", "blurb",