Commit 85ecf6bf authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Carlos Garcia Campos

Fix selections with poppler-splash.

2008-03-14  Carlos Garcia Campos  <carlosgc@gnome.org>

	* libdocument/ev-document-misc.c:
	(ev_document_misc_surface_from_pixbuf):

	Fix selections with poppler-splash.

svn path=/trunk/; revision=2966
parent 691936c4
2008-03-14 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-misc.c:
(ev_document_misc_surface_from_pixbuf):
Fix selections with poppler-splash.
2008-03-14 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
......
......@@ -152,8 +152,9 @@ ev_document_misc_surface_from_pixbuf (GdkPixbuf *pixbuf)
{
cairo_surface_t *surface;
cairo_t *cr;
surface = cairo_image_surface_create (CAIRO_FORMAT_RGB24,
surface = cairo_image_surface_create (gdk_pixbuf_get_has_alpha (pixbuf) ?
CAIRO_FORMAT_ARGB32 : CAIRO_FORMAT_RGB24,
gdk_pixbuf_get_width (pixbuf),
gdk_pixbuf_get_height (pixbuf));
cr = cairo_create (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