summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r--tests/gimarshallingtests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index ee75de51..3e7713e3 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -5078,7 +5078,7 @@ void
gi_marshalling_tests_param_spec_in_bool (const GParamSpec *param)
{
g_assert (G_IS_PARAM_SPEC (param));
- g_assert_cmpint (G_PARAM_SPEC_TYPE (param), ==, G_TYPE_BOOLEAN);
+ g_assert_cmpint (G_PARAM_SPEC_VALUE_TYPE (param), ==, G_TYPE_BOOLEAN);
g_assert_cmpstr (g_param_spec_get_name ((GParamSpec *) param), ==, "mybool");
}