summaryrefslogtreecommitdiffstats
path: root/siplib/tqtlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'siplib/tqtlib.c')
-rw-r--r--siplib/tqtlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/siplib/tqtlib.c b/siplib/tqtlib.c
index d59c138..1fa8cfa 100644
--- a/siplib/tqtlib.c
+++ b/siplib/tqtlib.c
@@ -196,7 +196,7 @@ PyObject *sip_api_invoke_slot(const sipSlot *slot, PyObject *sigargs)
{
PyObject *nsa, *xtype, *xvalue, *xtb, *resobj;
- if ((resobj = PyEval_CallObject(sfunc, sa)) != NULL)
+ if ((resobj = PyObject_CallObject(sfunc, sa)) != NULL)
{
Py_DECREF(sfunc);
Py_XDECREF(sref);