[cairo-commit] pycairo/examples/gtk png_view.py,1.2,1.3
Steve Chaplin
commit at pdx.freedesktop.org
Thu Apr 14 05:05:28 PDT 2005
- Previous message: [cairo-commit] pycairo/examples context-subclass.py, 1.2,
1.3 gradient.py, 1.3, 1.4 hering.py, 1.3, 1.4 warpedtext.py,
1.6, 1.7
- Next message: [cairo-commit]
pycairo/examples/cairo_snippets snippets_png.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: stevech1097
Update of /cvs/cairo/pycairo/examples/gtk
In directory gabe:/tmp/cvs-serv19054/examples/gtk
Modified Files:
png_view.py
Log Message:
SC 2005/04/14
Index: png_view.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/gtk/png_view.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- png_view.py 9 Apr 2005 07:28:16 -0000 1.2
+++ png_view.py 14 Apr 2005 12:05:26 -0000 1.3
@@ -26,7 +26,7 @@
try:
file_object = file(filename)
- surface, wh = cairo.Surface.create_for_png(file_object)
+ surface, wh = cairo.ImageSurface.create_for_png(file_object)
Width, Height = wh
file_object.close()
except Exception, exc:
@@ -44,6 +44,7 @@
win.show_all()
gtk.main()
-# TODO: seg fault on exit caused by cairo_image_surface.create_for_png()
+# Bug #2972
+# seg fault on exit caused by cairo_image_surface.create_for_png()
# calling fclose()
#print 'end of script'
- Previous message: [cairo-commit] pycairo/examples context-subclass.py, 1.2,
1.3 gradient.py, 1.3, 1.4 hering.py, 1.3, 1.4 warpedtext.py,
1.6, 1.7
- Next message: [cairo-commit]
pycairo/examples/cairo_snippets snippets_png.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list