projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91cc823
)
InitiallyUnownedClass should contain all the fields as ObjectClass if we want offset...
author
Tomeu Vizoso
<tomeu@sugarlabs.org>
Thu, 26 Nov 2009 11:43:42 +0000
(11:43 +0000)
committer
Tomeu Vizoso
<tomeu@sugarlabs.org>
Mon, 30 Nov 2009 16:17:34 +0000
(16:17 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=603038
giscanner/glibtransformer.py
patch
|
blob
|
history
diff --git
a/giscanner/glibtransformer.py
b/giscanner/glibtransformer.py
index
c58644b
..
158f8e8
100644
(file)
--- 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)