summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 1806720e..efa39a91 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -84,6 +84,8 @@ from a C type string, or a gtype_name (from g_type_name()).
return self.ctype
elif self.gtype_name:
return self.gtype_name
+ elif self.target_giname:
+ return self.target_giname
else:
assert False