]> granicus.if.org Git - python/commitdiff
Fixed object-handler-install bug
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 1 Oct 1996 11:41:14 +0000 (11:41 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 1 Oct 1996 11:41:14 +0000 (11:41 +0000)
Mac/Modules/waste/wastemodule.c

index 571a307ef311bd31eaceaecd2c091eb3fb20320b..99e5675226e0c809a840db5c46426c2b7b4212f7 100644 (file)
@@ -1846,7 +1846,7 @@ static PyObject *waste_WEInstallObjectHandler(_self, _args)
                                PyMac_GetOSType, &objectType,
                                PyMac_GetOSType, &selector,
                                &py_handler,
-                               ExistingwasteObj_New, &we) ) return NULL;
+                               WEOObj_Convert, &we) ) return NULL;
                                
                if ( selector == weNewHandler ) handler = (UniversalProcPtr)upp_new_handler;
                else if ( selector == weDisposeHandler ) handler = (UniversalProcPtr)upp_dispose_handler;