aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/glue/qtgui.cpp
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2024-11-06 10:59:43 +0100
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2024-11-08 08:33:38 +0100
commit91ead1e9269426209daaefa61837ef555b1738ed (patch)
tree8d97d3f0fe32096b8ae895b26b1aeee6fe28d337 /sources/pyside6/PySide6/glue/qtgui.cpp
parent57cf99afc5fcbc7608790a42471667ed6d7bdea3 (diff)
limited api: Remove PyList_GET_ITEM, PyList_SET_ITEM and PyList_GET_SIZE macros
Removing old compatibility macros for the initial limited api implementation. Change-Id: Iced149450bd9bda18e43ac0acea0061cdcdb211e Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtgui.cpp')
-rw-r--r--sources/pyside6/PySide6/glue/qtgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/glue/qtgui.cpp b/sources/pyside6/PySide6/glue/qtgui.cpp
index 9ef97dfd3..0c6c4961c 100644
--- a/sources/pyside6/PySide6/glue/qtgui.cpp
+++ b/sources/pyside6/PySide6/glue/qtgui.cpp
@@ -355,7 +355,7 @@ for (Py_ssize_t i = 0; i < count; ++i){
int x, y;
%CPPSELF.point(i, &x, &y);
QPoint pt{x, y};
- PyList_SET_ITEM(points, i, %CONVERTTOPYTHON[QPoint](pt));
+ PyList_SetItem(points, i, %CONVERTTOPYTHON[QPoint](pt));
}
// @snippet qpolygon-reduce