diff options
author | Colin Walters <walters@src.gnome.org> | 2008-10-20 17:04:17 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-10-20 17:04:17 +0000 |
commit | ad982938b3dfdc5a5df7c18ec49116e3b6bdce1a (patch) | |
tree | b58d85b68be8dec773a779982e6af1793476ad94 /giscanner/girwriter.py | |
parent | f20b1189e8ce6731db8ca07f890a457afab0f920 (diff) | |
download | gobject-introspection-ad982938b3dfdc5a5df7c18ec49116e3b6bdce1a.tar.gz |
Bug 557011 - Add g_object_info_get_abstract
svn path=/trunk/; revision=757
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index 8b455ce3..89457004 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -230,6 +230,8 @@ class GIRWriter(XMLWriter): tag_name = 'class' if node.parent is not None: attrs.append(('parent', node.parent)) + if node.is_abstract: + attrs.append(('abstract', '1')) else: tag_name = 'interface' if isinstance(node, (GLibObject, GLibInterface)): |