summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatijs van Zuijlen <matijs@matijs.net>2014-04-17 11:20:02 +0200
committerColin Walters <walters@verbum.org>2014-05-30 14:31:28 -0400
commitdd0af8ef0145b1b1a323b06206c8e5528c6f8e1c (patch)
tree93c962f4aea6407b7403dea551bcfef7a9d3f48b
parent777bd63abad2b21ce8e725b6d7a77010276ef1ab (diff)
downloadgobject-introspection-dd0af8ef0145b1b1a323b06206c8e5528c6f8e1c.tar.gz
gimarshallingtests: Correctly retrieve param spec's value type
https://bugzilla.gnome.org/show_bug.cgi?id=728409
-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");
}