Author: DerekRhodes
Date: 2008-03-06 15:28:13 -0500 (Thu, 06 Mar 2008)
New Revision: 1072

Modified:
   trunk/pysoy/src/_core/Screen-x11.pxi
Log:
Ticket #901
changed some .iter -> ._iter


Modified: trunk/pysoy/src/_core/Screen-x11.pxi
===================================================================
--- trunk/pysoy/src/_core/Screen-x11.pxi        2008-03-06 20:06:10 UTC (rev 
1071)
+++ trunk/pysoy/src/_core/Screen-x11.pxi        2008-03-06 20:28:13 UTC (rev 
1072)
@@ -42,23 +42,23 @@
     global _glxContext
     #
     # If the display hasn't been opened already
-    _screens.iterStart()
+    _screens._iterStart()
     if _display==NULL :
       _display = glx.XOpenDisplay(NULL)
       if _display==NULL :
-        _screens.iterDone()
+        _screens._iterDone()
         raise SystemError('Could not open display')
     if type(_sId)==int and _sId<0 :
       _sId = glx.DefaultScreen(_display)
     if type(_sId)==int and _sId>=0 and _sId<glx.ScreenCount(_display) :
       for _i from 0 <= _i < _screens._current :
         if (<Screen> _screens._list[_i])._screenID == _sId :
-          _screens.iterDone()
+          _screens._iterDone()
           raise ValueError('This screen has already been opened')    
       self._screen = glx.ScreenOfDisplay(_display, _sId)
       self._screenID = _sId
     else :
-      _screens.iterDone()
+      _screens._iterDone()
       raise('Requested screen %d not available' % _sId)
     self._wmDelWin = glx.XInternAtom(_display, "WM_DELETE_WINDOW", 0)
     _glxAttrs[0]  = glx.GLX_RGBA
@@ -76,7 +76,7 @@
     _glxAttrs[12] = 0
     self._xVisualInfo = glx.glXChooseVisual(_display, _sId, _glxAttrs)
     if self._xVisualInfo == NULL :
-      _screens.iterDone()
+      _screens._iterDone()
       raise SystemError('Screen cannot support PySoy')
     if _glxContext == NULL :
       _glxContext = glx.glXCreateContext(_display, self._xVisualInfo,
@@ -89,7 +89,7 @@
                                 glx.RootWindowOfScreen(self._screen),
                                 glx.CWEventMask, &_winAttr)
     glx.XFlush(_display)
-    _screens.iterDone()
+    _screens._iterDone()
     _screens._append(<void*> self)
 
 

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to