diff options
Diffstat (limited to 'bindings/lang_python.py')
| -rw-r--r-- | bindings/lang_python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/lang_python.py b/bindings/lang_python.py index fc2bdd04..25a4f90e 100644 --- a/bindings/lang_python.py +++ b/bindings/lang_python.py @@ -736,7 +736,7 @@ register_constants(PyObject *d) print >> fd, ' } else {' print >> fd, ' return_pyvalue = noneRef();' print >> fd, ' }' - elif vtype in ('GList*',): + elif vtype in ('const GList*', 'GList*',): elem_type = options.get('elem_type') if elem_type == 'char*': print >> fd, ' return_pyvalue = get_list_of_strings(return_value);' |
