[cairo-commit] pycairo/examples lsystem.py,1.1,1.2 text.py,1.6,1.7

Steve Chaplin commit at pdx.freedesktop.org
Sun Nov 14 05:04:03 PST 2004


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples
In directory gabe:/tmp/cvs-serv9985/examples

Modified Files:
	lsystem.py text.py 
Log Message:
SC 14/11/2004

Index: lsystem.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/lsystem.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lsystem.py	20 Nov 2003 17:31:51 -0000	1.1
+++ lsystem.py	14 Nov 2004 13:04:00 -0000	1.2
@@ -57,7 +57,7 @@
 
 def main():
     win = gtk.Window()
-    win.connect('destroy', gtk.mainquit)
+    win.connect('destroy', lambda x: gtk.main_quit())
     win.set_title('Cairo Lindenmayer System')
     win.set_default_size(600, 600)
 

Index: text.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/text.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- text.py	29 Apr 2004 13:50:10 -0000	1.6
+++ text.py	14 Nov 2004 13:04:00 -0000	1.7
@@ -38,7 +38,7 @@
 
 win.show_all()
 
-win.connect('destroy', gtk.mainquit)
+win.connect('destroy', lambda x: gtk.main_quit())
 drawingarea.connect('expose_event', expose_event)
 
 gtk.main()




More information about the cairo-commit mailing list