diff options
Diffstat (limited to 'gobject/pygpointer.c')
-rw-r--r-- | gobject/pygpointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygpointer.c b/gobject/pygpointer.c index fbe3e10..575c751 100644 --- a/gobject/pygpointer.c +++ b/gobject/pygpointer.c @@ -44,7 +44,7 @@ pyg_pointer_dealloc(PyGPointer *self) static PyObject* pyg_pointer_richcompare(PyObject *self, PyObject *other, int op) { - if (Py_TYPE(self) == Py_TYPE(other) && Py_TYPE(self) == &PyGPointer_Type) + if (Py_TYPE(self) == Py_TYPE(other)) return _pyglib_generic_ptr_richcompare(((PyGPointer*)self)->pointer, ((PyGPointer*)other)->pointer, op); |