diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-30 00:01:29 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-30 00:01:29 (GMT) |
commit | 362c7cd07bd32f94e80e5ca954834cfbc1709953 (patch) | |
tree | 8f929854033e856a2bf29d9167da8c98f754a416 /Mac/Demo/quicktime | |
parent | 202355a333b98213449b30dcbfa620be86c96085 (diff) | |
download | cpython-362c7cd07bd32f94e80e5ca954834cfbc1709953.zip cpython-362c7cd07bd32f94e80e5ca954834cfbc1709953.tar.gz cpython-362c7cd07bd32f94e80e5ca954834cfbc1709953.tar.bz2 |
Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.
Diffstat (limited to 'Mac/Demo/quicktime')
-rw-r--r-- | Mac/Demo/quicktime/MovieInWindow.py | 2 | ||||
-rw-r--r-- | Mac/Demo/quicktime/VerySimplePlayer.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Demo/quicktime/MovieInWindow.py b/Mac/Demo/quicktime/MovieInWindow.py index 9cd4e77..620c16c 100644 --- a/Mac/Demo/quicktime/MovieInWindow.py +++ b/Mac/Demo/quicktime/MovieInWindow.py @@ -31,7 +31,7 @@ def main(): Qd.SetPort(theWindow) # XXXX Needed? SetGWorld((CGrafPtr)theWindow, nil) - playMovieInWindow(theWindow, fss, theWindow.GetWindowPort().portRect) + playMovieInWindow(theWindow, fss, theWindow.GetWindowPort().GetPortBounds()) def playMovieInWindow(theWindow, theFile, movieBox): """Play a movie in a window""" diff --git a/Mac/Demo/quicktime/VerySimplePlayer.py b/Mac/Demo/quicktime/VerySimplePlayer.py index 4962ebb..aca977f 100644 --- a/Mac/Demo/quicktime/VerySimplePlayer.py +++ b/Mac/Demo/quicktime/VerySimplePlayer.py @@ -78,7 +78,7 @@ def main(): else: Qd.SetPort(whichWindow) whichWindow.BeginUpdate() - Qd.EraseRect(whichWindow.GetWindowPort().portRect) + Qd.EraseRect(whichWindow.GetWindowPort().GetPortBounds()) whichWindow.EndUpdate() def loadMovie(theFile): |