[Python-checkins] python/dist/src/Mac/Modules/dlg _Dlgmodule.c,1.14,1.15 dlgsupport.py,1.30,1.31
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 13 Dec 2002 07:02:20 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/dlg
In directory sc8-pr-cvs1:/tmp/cvs-serv28591/Modules/dlg
Modified Files:
_Dlgmodule.c dlgsupport.py
Log Message:
Get rid of support for Universal Headers older than 3.4 and various other
outdated things.
Index: _Dlgmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/dlg/_Dlgmodule.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** _Dlgmodule.c 12 Dec 2002 10:31:50 -0000 1.14
--- _Dlgmodule.c 13 Dec 2002 15:01:36 -0000 1.15
***************
*** 37,47 ****
#endif
- #if !ACCESSOR_CALLS_ARE_FUNCTIONS && UNIVERSAL_INTERFACES_VERSION < 0x340
- #define GetDialogTextEditHandle(dlg) (((DialogPeek)(dlg))->textH)
- #define SetPortDialogPort(dlg) SetPort(dlg)
- #define GetDialogPort(dlg) ((CGrafPtr)(dlg))
- #define GetDialogFromWindow(win) ((DialogRef)(win))
- #endif
-
/* XXX Shouldn't this be a stack? */
static PyObject *Dlg_FilterProc_callback = NULL;
--- 37,40 ----
Index: dlgsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/dlg/dlgsupport.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** dlgsupport.py 3 Dec 2002 23:40:20 -0000 1.30
--- dlgsupport.py 13 Dec 2002 15:01:41 -0000 1.31
***************
*** 48,58 ****
#endif
- #if !ACCESSOR_CALLS_ARE_FUNCTIONS && UNIVERSAL_INTERFACES_VERSION < 0x340
- #define GetDialogTextEditHandle(dlg) (((DialogPeek)(dlg))->textH)
- #define SetPortDialogPort(dlg) SetPort(dlg)
- #define GetDialogPort(dlg) ((CGrafPtr)(dlg))
- #define GetDialogFromWindow(win) ((DialogRef)(win))
- #endif
-
/* XXX Shouldn't this be a stack? */
static PyObject *Dlg_FilterProc_callback = NULL;
--- 48,51 ----