summaryrefslogtreecommitdiffstats
path: root/sip/tdecore/kmountpoint.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdecore/kmountpoint.sip')
-rw-r--r--sip/tdecore/kmountpoint.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/tdecore/kmountpoint.sip b/sip/tdecore/kmountpoint.sip
index 76a6c85..066b1e6 100644
--- a/sip/tdecore/kmountpoint.sip
+++ b/sip/tdecore/kmountpoint.sip
@@ -92,7 +92,7 @@ private:
// Convert a Python instance to a Ptr on the heap.
if (sipIsErr == NULL)
- return PyInstance_Check(sipPy);
+ return PyType_Check(sipPy);
int iserr = 0;
KMountPoint *cpp = (KMountPoint *)sipForceConvertToType(sipPy, sipType_KMountPoint, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);