diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-11-26 11:43:42 +0000 |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-11-30 16:17:34 +0000 |
commit | 1020622b48f685398b72eddce585cf7487a167fc (patch) | |
tree | 588753ffa9c85081bc51c66a5fc8f8849cc42ae9 /giscanner | |
parent | 91cc82321e38febd65cd79ecaef2850b475f8ff2 (diff) | |
download | gobject-introspection-1020622b48f685398b72eddce585cf7487a167fc.tar.gz |
InitiallyUnownedClass should contain all the fields as ObjectClass if we want offset counting to be correct in its sublasses
https://bugzilla.gnome.org/show_bug.cgi?id=603038
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/glibtransformer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/glibtransformer.py b/giscanner/glibtransformer.py index c58644b0..158f8e81 100644 --- a/giscanner/glibtransformer.py +++ b/giscanner/glibtransformer.py @@ -558,6 +558,8 @@ class GLibTransformer(object): elif record.name in g_internal_names: # Avoid duplicates return + if record.name == 'InitiallyUnownedClass': + record.fields = self._names.names['ObjectClass'][1].fields node = self._names.names.get(record.name) if node is None: self._add_attribute(record, replace=True) |