diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-03 15:29:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-07 22:14:56 +0900 |
commit | 4ce11cc30df1805459a615960fdec204a975548a (patch) | |
tree | 084f1e1fa404bdf0d082b1a58acf392b5d177326 /sip/tdecore/netwm.sip | |
parent | 065f41b4908b11278d4334e8c85150ec0fd4a9f6 (diff) | |
download | pytde-4ce11cc30df1805459a615960fdec204a975548a.tar.gz pytde-4ce11cc30df1805459a615960fdec204a975548a.zip |
Drop python2 support.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'sip/tdecore/netwm.sip')
-rw-r--r-- | sip/tdecore/netwm.sip | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sip/tdecore/netwm.sip b/sip/tdecore/netwm.sip index 48dcbbf..ac27f60 100644 --- a/sip/tdecore/netwm.sip +++ b/sip/tdecore/netwm.sip @@ -52,7 +52,7 @@ public: unsigned long *list = new unsigned long [count]; for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); + list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i)); Py_BEGIN_ALLOW_THREADS Display *d = tqt_xdisplay (); @@ -83,7 +83,7 @@ public: unsigned long *list = new unsigned long [count]; for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); + list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i)); Py_BEGIN_ALLOW_THREADS Display *d = tqt_xdisplay (); @@ -369,7 +369,7 @@ public: unsigned long *list = new unsigned long [count]; for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); + list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i)); Py_BEGIN_ALLOW_THREADS Display *d = tqt_xdisplay (); @@ -410,7 +410,7 @@ public: unsigned long *list = new unsigned long [count]; for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); + list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i)); Py_BEGIN_ALLOW_THREADS Display *d = tqt_xdisplay (); @@ -449,7 +449,7 @@ public: unsigned long *list = new unsigned long [count]; for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); + list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i)); Py_BEGIN_ALLOW_THREADS Display *d = tqt_xdisplay (); @@ -494,7 +494,7 @@ public: unsigned long *list = new unsigned long [count]; for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); + list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i)); Py_BEGIN_ALLOW_THREADS Display *d = tqt_xdisplay (); |