summaryrefslogtreecommitdiff
path: root/giscanner/gdumpparser.py
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-01-16 19:03:21 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-01-16 19:03:27 +0100
commit0e0ee273e7dcb6f08b4e433fdbdf11e3cffd66d1 (patch)
tree300b4bab7fdfac2c62674cdf020787a55fe52c1e /giscanner/gdumpparser.py
parent361aa17c5302d5d9501b71ec352b39452dea6d23 (diff)
downloadgobject-introspection-0e0ee273e7dcb6f08b4e433fdbdf11e3cffd66d1.tar.gz
Revert "Restore original meaning of disguised attribute."
This reverts commit f606183a010fbec4382acb728882cc0eddbaf7f7. See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/9#note_409979
Diffstat (limited to 'giscanner/gdumpparser.py')
-rw-r--r--giscanner/gdumpparser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index 9082cbe7..1730fee5 100644
--- a/giscanner/gdumpparser.py
+++ b/giscanner/gdumpparser.py
@@ -230,6 +230,7 @@ blob containing data gleaned from GObject's primitive introspection."""
c_symbol_prefix='variant')
elif record.name == 'InitiallyUnownedClass':
record.fields = self._namespace.get('ObjectClass').fields
+ record.disguised = False
# Introspection over the data we get from the dynamic
# GObject/GType system out of the binary
@@ -509,6 +510,9 @@ different --identifier-prefix.""" % (xmlnode.attrib['name'], self._namespace.ide
pair_node.add_gtype(boxed.gtype_name, boxed.get_type)
assert boxed.c_symbol_prefix is not None
pair_node.c_symbol_prefix = boxed.c_symbol_prefix
+ # Quick hack - reset the disguised flag; we're setting it
+ # incorrectly in the scanner
+ pair_node.disguised = False
else:
return False