Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Masamichi Hosoda
poppler
Commits
2801b54a
Commit
2801b54a
authored
May 16, 2005
by
Kristian Høgsberg
Browse files
2005-05-16 Kristian Høgsberg <krh@redhat.com>
* test/gtk-cairo-test.cc: Update this test case also.
parent
8753ae8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
2801b54a
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.
...
...
test/gtk-cairo-test.cc
View file @
2801b54a
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment