diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 00:17:39 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 19:47:42 -0500 |
commit | 3209fdf04bdff42033e1f833913c394adcaa2e67 (patch) | |
tree | 5b5198dd36b792bd9de50c7e6f34775e76f527d8 /giscanner/ast.py | |
parent | 34fcb259c51997360bca967095dd1e1282140f6d (diff) | |
download | gobject-introspection-3209fdf04bdff42033e1f833913c394adcaa2e67.tar.gz |
ast: Make sure to export c:type for signals and properties
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index 50b0f29e..18313320 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -95,7 +95,8 @@ in contrast to the other create_type() functions.""" # First, is it a fundamental? fundamental = type_names.get(gtype_name) if fundamental is not None: - return cls(target_fundamental=fundamental.target_fundamental) + return cls(target_fundamental=fundamental.target_fundamental, + ctype=fundamental.ctype) if gtype_name == 'GHashTable': return Map(TYPE_ANY, TYPE_ANY, gtype_name=gtype_name) elif gtype_name in ('GArray', 'GPtrArray', 'GByteArray'): |