-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
freepn/freepn-gtk3-tray
#14Labels
Description
It looks like PyObject_AsWriteBuffer is currently a wrapper around the new API (https://docs.python.org/3/c-api/objbuffer.html?highlight=pyobject_aswritebuffer#c.PyObject_AsWriteBuffer).
It looks like pycairo uses this function in one place (and wraps it to suppress the deprecation warnings)
Lines 823 to 825 in f0c0e5a
PYCAIRO_BEGIN_IGNORE_DEPRECATED | |
res = PyObject_AsWriteBuffer (obj, (void **)&buffer, &buffer_len); | |
PYCAIRO_END_IGNORE_DEPRECATED |
Unfortunately I do not have time right now to dig into this and offer a fix.