File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3838,9 +3838,9 @@ static PyObject *Qd_SetPort(_self, _args)
38383838 PyObject * _args ;
38393839{
38403840 PyObject * _res = NULL ;
3841- WindowPtr thePort ;
3841+ GrafPtr thePort ;
38423842 if (!PyArg_ParseTuple (_args , "O&" ,
3843- WinObj_Convert , & thePort ))
3843+ GrafObj_Convert , & thePort ))
38443844 return NULL ;
38453845 SetPort (thePort );
38463846 Py_INCREF (Py_None );
@@ -4783,7 +4783,7 @@ static PyMethodDef Qd_methods[] = {
47834783 {"CharExtra" , (PyCFunction )Qd_CharExtra , 1 ,
47844784 "(Fixed extra) -> None" },
47854785 {"SetPort" , (PyCFunction )Qd_SetPort , 1 ,
4786- "(WindowPtr thePort) -> None" },
4786+ "(GrafPtr thePort) -> None" },
47874787 {"GetCursor" , (PyCFunction )Qd_GetCursor , 1 ,
47884788 "(short cursorID) -> (CursHandle _rv)" },
47894789 {"SetCursor" , (PyCFunction )Qd_SetCursor , 1 ,
Original file line number Diff line number Diff line change 11f = Function (void , 'SetPort' ,
2- (WindowPtr , 'thePort' , InMode ),
2+ (GrafPtr , 'thePort' , InMode ),
33)
44functions .append (f )
55
You can’t perform that action at this time.
0 commit comments