summaryrefslogtreecommitdiff
path: root/tests/check-qobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-qobject.c')
-rw-r--r--tests/check-qobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check-qobject.c b/tests/check-qobject.c
index 7a3670643c..7629b8071b 100644
--- a/tests/check-qobject.c
+++ b/tests/check-qobject.c
@@ -275,7 +275,7 @@ static void qobject_is_equal_dict_test(void)
dict_different_null_key, dict_longer, dict_shorter,
dict_nested);
- dict_crumpled = qobject_to_qdict(qdict_crumple(dict_1, &local_err));
+ dict_crumpled = qobject_to(QDict, qdict_crumple(dict_1, &local_err));
g_assert(!local_err);
check_equal(dict_crumpled, dict_nested);