summaryrefslogtreecommitdiff
path: root/gi/module.py
diff options
context:
space:
mode:
Diffstat (limited to 'gi/module.py')
-rw-r--r--gi/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/module.py b/gi/module.py
index 4e60c85..8cd80ef 100644
--- a/gi/module.py
+++ b/gi/module.py
@@ -134,7 +134,7 @@ class IntrospectionModule(object):
'abcdefgjhijklmnopqrstuvwxyz',
'ABCDEFGJHIJKLMNOPQRSTUVWXYZ')
for value_info in info.get_values():
- value_name = value_info.get_name_unescaped().translate(ascii_upper_trans)
+ value_name = value_info.get_name().translate(ascii_upper_trans)
setattr(wrapper, value_name, wrapper(value_info.get_value()))
if g_type != _gobject.TYPE_NONE: