summaryrefslogtreecommitdiff
path: root/giscanner/transformer.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/transformer.py')
-rw-r--r--giscanner/transformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/transformer.py b/giscanner/transformer.py
index 1c406e98..a74cb6ba 100644
--- a/giscanner/transformer.py
+++ b/giscanner/transformer.py
@@ -699,7 +699,7 @@ raise ValueError."""
# because of different ABI, but this usually works fine,
# so for backward compatibility lets continue for now:
# https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/24#note_92792
- if canonical == '_Bool':
+ if canonical in ('_Bool', 'bool'):
canonical = 'gboolean'
base = canonical