[poppler] poppler/test: gtk-cairo-test.cc,1.4,1.5

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


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

Modified Files:
	gtk-cairo-test.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: gtk-cairo-test.cc
===================================================================
RCS file: /cvs/poppler/poppler/test/gtk-cairo-test.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gtk-cairo-test.cc	16 May 2005 20:27:52 -0000	1.4
+++ gtk-cairo-test.cc	17 May 2005 23:38:27 -0000	1.5
@@ -113,8 +113,9 @@
     display = gdk_x11_drawable_get_xdisplay (pixmap);
     xid = gdk_x11_drawable_get_xid (pixmap);
 
-    surface = cairo_xlib_surface_create_with_visual(display, xid,
-						    DefaultVisual(display, DefaultScreen(display)));
+    surface = cairo_xlib_surface_create(display, xid,
+					DefaultVisual(display, DefaultScreen(display)),
+					w, h);
     cairo = cairo_create (surface);
     cairo_surface_destroy (surface);
   }



More information about the poppler mailing list