diff options
Diffstat (limited to 'bindings/python')
| -rw-r--r-- | bindings/python/lang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py index e69248a9..d71fc438 100644 --- a/bindings/python/lang.py +++ b/bindings/python/lang.py @@ -698,7 +698,7 @@ register_constants(PyObject *d) print >> fd, ' this = (%s*)cvt_this->obj;' % klassname if is_cstring(m): - print >> fd, ' return_value = g_strdup(this->%s);' % arg_name(m) + print >> fd, ' return_value = this->%s;' % arg_name(m) elif is_object(m): print >> fd, ' return_value = this->%s;' % m[1]; else: |
