Bug 419765 - "PyDOM script error, Python cannot handle dom events" (Add handling of the additional version argument) [p=toddw@ActiveState.com (Todd Whiteman) r=mhammond (NPOTB)]

git-svn-id: svn://10.0.0.236/trunk@246781 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2008-02-29 05:32:30 +00:00
parent 23727ec586
commit d5a8b963bc

View File

@@ -495,7 +495,7 @@ nsPythonContext::CompileEventHandler(nsIAtom *aName,
PyList_SET_ITEM(argNames, i, PyString_FromString(aArgNames[i]));
}
PyObject *ret = PyObject_CallMethod(mDelegate, "CompileEventHandler",
"sNNsi",
"sNNsii",
AtomToEventHandlerName(aName),
argNames,
PyObject_FromNSString(aBody),