Commit 2801b54a authored by Kristian Høgsberg's avatar Kristian Høgsberg

2005-05-16 Kristian Høgsberg <krh@redhat.com>

        * test/gtk-cairo-test.cc: Update this test case also.
parent 8753ae8b
2005-05-16 Kristian Høgsberg <krh@redhat.com>
* test/gtk-cairo-test.cc: Update this test case also.
* poppler/CairoOutputDevX.cc: Track changes to cairo Xlib surface
constructors.
......
......@@ -23,6 +23,7 @@
#include <gdk/gdkx.h>
#include "CairoOutputDev.h"
#include <cairo-xlib.h>
#include <X11/Xutil.h>
#include "PDFDoc.h"
#include "GlobalParams.h"
......@@ -112,8 +113,8 @@ GDKCairoOutputDev::createCairo(GfxState *state) {
display = gdk_x11_drawable_get_xdisplay (pixmap);
xid = gdk_x11_drawable_get_xid (pixmap);
surface = cairo_xlib_surface_create_for_pixmap_with_visual(display, xid,
DefaultVisual(display, DefaultScreen(display)));
surface = cairo_xlib_surface_create_with_visual(display, xid,
DefaultVisual(display, DefaultScreen(display)));
cairo = cairo_create (surface);
cairo_surface_destroy (surface);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment