[cairo-commit] cairo/src cairo_xlib_surface.c,1.29,1.30

Alexander Larsson commit at pdx.freedesktop.org
Mon Dec 20 12:22:53 PST 2004


Committed by: alexl

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv9992/src

Modified Files:
	cairo_xlib_surface.c 
Log Message:
2004-12-20  Alexander Larsson  <alexl at redhat.com>

	* src/cairo_xlib_surface.c (_cairo_xlib_surface_create_with_size):
	Fix bug in earlier change.



Index: cairo_xlib_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_xlib_surface.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- cairo_xlib_surface.c	20 Dec 2004 16:52:47 -0000	1.29
+++ cairo_xlib_surface.c	20 Dec 2004 20:22:51 -0000	1.30
@@ -749,7 +749,9 @@
     surface->drawable = drawable;
     surface->owns_pixmap = 0;
     surface->visual = visual;
-
+    surface->width = width;
+    surface->height = height;
+    
     if (! XRenderQueryVersion (dpy, &surface->render_major, &surface->render_minor)) {
 	surface->render_major = -1;
 	surface->render_minor = -1;




More information about the cairo-commit mailing list