gnome-games r7733 - trunk/glchess/src/lib/gtkui



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

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


Modified:
   trunk/glchess/src/lib/gtkui/chessview.py

Modified: trunk/glchess/src/lib/gtkui/chessview.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/chessview.py	(original)
+++ trunk/glchess/src/lib/gtkui/chessview.py	Wed Jun 25 18:24:29 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]