mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
For reasons unknown previewProc and filterProc were disabled. Enabled them.
This commit is contained in:
parent
f0d12da482
commit
c99b675ff4
1 changed files with 2 additions and 4 deletions
|
|
@ -202,11 +202,9 @@ filldialogoptions(PyObject *d,
|
|||
} else if( eventProcP && strcmp(keystr, "eventProc") == 0 ) {
|
||||
*eventProcP = my_eventProcUPP;
|
||||
} else if( previewProcP && strcmp(keystr, "previewProc") == 0 ) {
|
||||
PyErr_SetString(ErrorObject, "No callbacks implemented yet");
|
||||
return 0;
|
||||
*previewProcP = my_previewProcUPP;
|
||||
} else if( filterProcP && strcmp(keystr, "filterProc") == 0 ) {
|
||||
PyErr_SetString(ErrorObject, "No callbacks implemented yet");
|
||||
return 0;
|
||||
*filterProcP = my_filterProcUPP;
|
||||
} else if( typeListP && strcmp(keystr, "typeList") == 0 ) {
|
||||
if ( !PyArg_Parse(value, "O&", ResObj_Convert, typeListP) )
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue