[gobject-introspection] gimarshallingtests: Correctly retrieve param spec's value type
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] gimarshallingtests: Correctly retrieve param spec's value type
- Date: Fri, 30 May 2014 18:46:51 +0000 (UTC)
commit dd0af8ef0145b1b1a323b06206c8e5528c6f8e1c
Author: Matijs van Zuijlen <matijs matijs net>
Date: Thu Apr 17 11:20:02 2014 +0200
gimarshallingtests: Correctly retrieve param spec's value type
https://bugzilla.gnome.org/show_bug.cgi?id=728409
tests/gimarshallingtests.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index ee75de5..3e7713e 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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]