summaryrefslogtreecommitdiff
path: root/tests/scanner
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner')
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.test_list_model_object.page4
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.test_list_model_object.page4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_list_model_object.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_list_model_object.page
index 618ca7e3..a9dd90d7 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_list_model_object.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_list_model_object.page
@@ -9,14 +9,14 @@
<link xref="index" group="function" type="guide"/>
<api:function>
<api:returns>
- <api:type>Gio.ListModel({item_type: Regress.TestObj})</api:type>
+ <api:type>Array(Regress.TestObj)</api:type>
</api:returns>
<api:name>regress_test_list_model_object</api:name>
</api:function>
</info>
<title>Regress.test_list_model_object</title>
<synopsis><code mime="text/x-gjs">
-function test_list_model_object(): Gio.ListModel({item_type: Regress.TestObj}) {
+function test_list_model_object(): Array(<link xref="Regress.TestObj">Regress.TestObj</link>) {
// Gjs wrapper for regress_test_list_model_object()
}
</code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_list_model_object.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_list_model_object.page
index d9dca201..a4382c9d 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.test_list_model_object.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_list_model_object.page
@@ -9,14 +9,14 @@
<link xref="index" group="function" type="guide"/>
<api:function>
<api:returns>
- <api:type>Gio.ListModel(item_type=Regress.TestObj)</api:type>
+ <api:type>[Regress.TestObj]</api:type>
</api:returns>
<api:name>regress_test_list_model_object</api:name>
</api:function>
</info>
<title>Regress.test_list_model_object</title>
<synopsis><code mime="text/x-python">
-@returns(Gio.ListModel(item_type=Regress.TestObj))
+@returns([Regress.TestObj])
def test_list_model_object():
# Python wrapper for regress_test_list_model_object()
</code></synopsis>