From dd0af8ef0145b1b1a323b06206c8e5528c6f8e1c Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Thu, 17 Apr 2014 11:20:02 +0200 Subject: gimarshallingtests: Correctly retrieve param spec's value type https://bugzilla.gnome.org/show_bug.cgi?id=728409 --- tests/gimarshallingtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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"); } -- cgit v1.2.1