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 9f2bc153..4ad4d870 100644
--- a/giscanner/transformer.py
+++ b/giscanner/transformer.py
@@ -354,7 +354,7 @@ raise ValueError."""
if prefixlen > 0:
name = child.ident[prefixlen:]
else:
- if child.ident is None:
+ if child.private:
continue
# Ok, the enum members don't have a consistent prefix
# among them, so let's just remove the global namespace