diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-18 12:21:45 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-18 12:28:34 +0200 |
commit | 85f1a9aa87699e2b2a57509ff9bbe132db259de8 (patch) | |
tree | 492353da0f302a78d7843be9f51b27092f8bbca8 /gi/pygi-resulttuple.c | |
parent | e8d97dfd7dd7c729c21d2881266f90f2e0072c49 (diff) | |
download | pygobject-85f1a9aa87699e2b2a57509ff9bbe132db259de8.tar.gz |
Use Py_TYPE() everywhere
Diffstat (limited to 'gi/pygi-resulttuple.c')
-rw-r--r-- | gi/pygi-resulttuple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygi-resulttuple.c b/gi/pygi-resulttuple.c index f3a58e1e..0d060d01 100644 --- a/gi/pygi-resulttuple.c +++ b/gi/pygi-resulttuple.c @@ -125,7 +125,7 @@ resulttuple_dir(PyObject *self) Py_DECREF (mapping_attr); if (mapping == NULL) goto error; - items = PyObject_Dir ((PyObject*)self->ob_type); + items = PyObject_Dir ((PyObject*)Py_TYPE (self)); if (items == NULL) goto error; mapping_values = PyDict_Keys (mapping); |