summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-04-28 11:18:18 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-04-28 11:19:29 +0200
commitbb364bd25d50215b0c40d98ba5ecf2aa779e53a2 (patch)
tree1618dbab70c70a86d6bf85e63252759fbd662732 /giscanner/girparser.py
parent770d81f2a32a7bbaa64cd923a69838574e2f0454 (diff)
downloadgobject-introspection-bb364bd25d50215b0c40d98ba5ecf2aa779e53a2.tar.gz
Revert "Add support for element-type to GListModel"
Breaks vapigen and changes GListModel definition in Gio-2.0.gir This reverts commit a9f45431684e6be3623e272e54d481e4c5d9423d.
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r--giscanner/girparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py
index d31b26cf..35206a41 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -492,7 +492,7 @@ class GIRParser(object):
if ctype is None:
return ast.TypeUnknown()
return ast.Type(ctype=ctype)
- elif name in ['GLib.List', 'GLib.SList', 'Gio.ListModel']:
+ elif name in ['GLib.List', 'GLib.SList']:
subchild = self._find_first_child(typenode,
list(map(_corens, ('callback', 'array',
' varargs', 'type'))))