diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-03-31 10:26:18 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-03-31 10:26:18 +0200 |
commit | 91450f356945a2e99506ec03276fc1d179c894ae (patch) | |
tree | 8d119909fe02e5af69bce86c8e188ea49ca5c14a /gi/pygi-info.c | |
parent | 515fe7b2cb2603b08af263a92a9ea82525bd2ac1 (diff) | |
download | pygobject-91450f356945a2e99506ec03276fc1d179c894ae.tar.gz |
Rename PYGLIB_PyImport_ImportModule to pygi_import_module and move to utils
It has different behaviour than PyImport_ImportModule and isn't just an alias
for different Python versions. This makes it more clear.
Diffstat (limited to 'gi/pygi-info.c')
-rw-r--r-- | gi/pygi-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygi-info.c b/gi/pygi-info.c index 9d639e6f..8a0deaa1 100644 --- a/gi/pygi-info.c +++ b/gi/pygi-info.c @@ -40,7 +40,7 @@ _generate_doc_string(PyGIBaseInfo *self) static PyObject *_py_generate_doc_string = NULL; if (_py_generate_doc_string == NULL) { - PyObject *mod = PYGLIB_PyImport_ImportModule ("gi.docstring"); + PyObject *mod = pygi_import_module ("gi.docstring"); if (!mod) return NULL; |