gnome-games r7732 - branches/gnome-2-22/glchess/src/lib/gtkui



Author: jclinton
Date: Wed Jun 25 18:23:34 2008
New Revision: 7732
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7732&view=rev

Log:
fix improper use of openGLErrors list (Jason Clinton, Gubianas, Bug# 530981)


Modified:
   branches/gnome-2-22/glchess/src/lib/gtkui/chessview.py

Modified: branches/gnome-2-22/glchess/src/lib/gtkui/chessview.py
==============================================================================
--- branches/gnome-2-22/glchess/src/lib/gtkui/chessview.py	(original)
+++ branches/gnome-2-22/glchess/src/lib/gtkui/chessview.py	Wed Jun 25 18:23:34 2008
@@ -29,7 +29,7 @@
         try:
             glConfig = gtk.gdkgl.Config(mode = display_mode)
         except gtk.gdkgl.NoMatches:
-            openGLErrors(_('OpenGL libraries do not support required display mode'))
+            openGLErrors.append(_('OpenGL libraries do not support required display mode'))
 haveGLSupport = len(openGLErrors) == 0
 
 __all__ = ['GtkView']



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]