summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qt/qtsupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-08-23 11:45:40 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-08-23 11:45:40 (GMT)
commitf6969fae012bd64ad66eb37e5065d45a37c43f02 (patch)
tree68edb40a0de5a34dc76ae4054e1b01d58a44bc0e /Mac/Modules/qt/qtsupport.py
parent950269239b4175bf619de8d17e7da5ce5d570e90 (diff)
downloadcpython-f6969fae012bd64ad66eb37e5065d45a37c43f02.zip
cpython-f6969fae012bd64ad66eb37e5065d45a37c43f02.tar.gz
cpython-f6969fae012bd64ad66eb37e5065d45a37c43f02.tar.bz2
Removed availabe() method again: even on PPC it sometimes returns 1 while
quicktime isn't available. Use gestalt in stead for this functionality.
Diffstat (limited to 'Mac/Modules/qt/qtsupport.py')
-rw-r--r--Mac/Modules/qt/qtsupport.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/Mac/Modules/qt/qtsupport.py b/Mac/Modules/qt/qtsupport.py
index 063a79a..2e26888 100644
--- a/Mac/Modules/qt/qtsupport.py
+++ b/Mac/Modules/qt/qtsupport.py
@@ -253,21 +253,6 @@ f = Function(void, 'MoviesTask',
)
functions.append(f)
-# Add manual routines for testing quicktime availability
-available_body = """
-void *ptr;
-
-if ( !PyArg_ParseTuple(_args, "") )
- return NULL;
-ptr = (void *)&EnterMovies;
-return Py_BuildValue("i", ((long)ptr != 0));
-"""
-
-f = ManualGenerator("available", available_body)
-f.docstring = lambda : "Return true if Quicktime is available"
-
-functions.append(f)
-
# add the populated lists to the generator groups
# (in a different wordl the scan program would generate this)