diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 16:34:04 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 16:34:04 (GMT) |
commit | a53f4eba19856613a55ccbcfdb8c862d24a691b9 (patch) | |
tree | 55e8e3616059daa41c666e3b0abd92ed8a0efd43 /Mac/Modules/win | |
parent | 9588770e25db99692f3ebb680235bc1a02b65017 (diff) | |
download | cpython-a53f4eba19856613a55ccbcfdb8c862d24a691b9.zip cpython-a53f4eba19856613a55ccbcfdb8c862d24a691b9.tar.gz cpython-a53f4eba19856613a55ccbcfdb8c862d24a691b9.tar.bz2 |
Getting rid of code conditional on TARGET_API_MAC_*.
Diffstat (limited to 'Mac/Modules/win')
-rw-r--r-- | Mac/Modules/win/_Winmodule.c | 6 | ||||
-rw-r--r-- | Mac/Modules/win/winscan.py | 8 |
2 files changed, 1 insertions, 13 deletions
diff --git a/Mac/Modules/win/_Winmodule.c b/Mac/Modules/win/_Winmodule.c index d88a5bc..5bb0b5d 100644 --- a/Mac/Modules/win/_Winmodule.c +++ b/Mac/Modules/win/_Winmodule.c @@ -1358,8 +1358,6 @@ static PyObject *WinObj_TransitionWindow(WindowObject *_self, PyObject *_args) return _res; } -#if TARGET_API_MAC_OSX - static PyObject *WinObj_TransitionWindowAndParent(WindowObject *_self, PyObject *_args) { PyObject *_res = NULL; @@ -1387,7 +1385,6 @@ static PyObject *WinObj_TransitionWindowAndParent(WindowObject *_self, PyObject _res = Py_None; return _res; } -#endif static PyObject *WinObj_MacMoveWindow(WindowObject *_self, PyObject *_args) { @@ -2451,11 +2448,8 @@ static PyMethodDef WinObj_methods[] = { PyDoc_STR("(Boolean hilited) -> None")}, {"TransitionWindow", (PyCFunction)WinObj_TransitionWindow, 1, PyDoc_STR("(WindowTransitionEffect effect, WindowTransitionAction action, Rect rect) -> None")}, - -#if TARGET_API_MAC_OSX {"TransitionWindowAndParent", (PyCFunction)WinObj_TransitionWindowAndParent, 1, PyDoc_STR("(WindowPtr parentWindow, WindowTransitionEffect effect, WindowTransitionAction action, Rect rect) -> None")}, -#endif {"MacMoveWindow", (PyCFunction)WinObj_MacMoveWindow, 1, PyDoc_STR("(short hGlobal, short vGlobal, Boolean front) -> None")}, {"SizeWindow", (PyCFunction)WinObj_SizeWindow, 1, diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py index a79381d..1aefbd3 100644 --- a/Mac/Modules/win/winscan.py +++ b/Mac/Modules/win/winscan.py @@ -70,13 +70,7 @@ class MyScanner(Scanner): 'GetWindowGoAwayFlag', 'GetWindowSpareFlag', ] - - def makegreylist(self): - return [ - ('#if TARGET_API_MAC_OSX', [ - 'TransitionWindowAndParent', - ])] - + def makeblacklisttypes(self): return [ 'ProcPtr', |