[poppler] poppler/poppler: CairoOutputDevX.cc,1.3,1.4

Kristian Hogsberg krh at freedesktop.org
Tue May 17 16:38:29 PDT 2005


Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv29352/poppler

Modified Files:
	CairoOutputDevX.cc 
Log Message:
2005-05-17  Kristian Høgsberg  <krh at redhat.com>

        * poppler/CairoOutputDevX.cc:
        * test/gtk-cairo-test.cc: Chase the cairo xlib constructor again.



Index: CairoOutputDevX.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/CairoOutputDevX.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CairoOutputDevX.cc	16 May 2005 19:06:00 -0000	1.3
+++ CairoOutputDevX.cc	17 May 2005 23:38:27 -0000	1.4
@@ -109,8 +109,9 @@
   gc = XCreateGC(display, pixmap, GCForeground, &gcv);
   XFillRectangle(display, pixmap, gc, 0, 0, w, h);
 
-  surface = cairo_xlib_surface_create_with_visual(display, pixmap,
-						  DefaultVisual(display, DefaultScreen(display)));
+  surface = cairo_xlib_surface_create(display, pixmap,
+				      DefaultVisual(display, DefaultScreen(display)),
+				      w, h);
   cairo = cairo_create (surface);
   cairo_surface_destroy (surface);
 



More information about the poppler mailing list