[cairo-commit] pycairo/cairo cairogtkmodule.c,1.28,1.29
Malcolm Tredinnick
commit at pdx.freedesktop.org
Thu Jul 21 09:49:38 PDT 2005
Committed by: malcolm
Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv13989/cairo
Modified Files:
cairogtkmodule.c
Log Message:
* cairo/cairogtkmodule.c:
track recent changes in cairo -- specifically,
cairo_xlib_surface_create_for_bitmap -- in the case where gtk-2.7/2.8 is not
available.
Index: cairogtkmodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairogtkmodule.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- cairogtkmodule.c 14 Jun 2005 08:42:33 -0000 1.28
+++ cairogtkmodule.c 21 Jul 2005 16:49:36 -0000 1.29
@@ -110,6 +110,7 @@
surface = cairo_xlib_surface_create_for_bitmap
(GDK_PIXMAP_XDISPLAY (drawable),
GDK_PIXMAP_XID (drawable),
+ GDK_SCREEN_XSCREEN (gdk_drawable_get_screen (drawable)),
width, height);
else {
g_warning ("Using Cairo rendering requires the drawable argument to\n"
More information about the cairo-commit
mailing list