Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-12-25 16:49:47 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-12-25 16:49:47 (GMT)
commit751ce0a89e747f595f4bb42a426f36332f7739ef (patch)
treee11c8dd1bf8b23ae7856b80a12b1221770f68462 /pdf
parent2cf45835358157f276a93e4e1ecd2f2e50910252 (diff)
Don't generate thumbnails with alpha. See bug #324077. Thanks to Jeroen
* djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail): * dvi/pixbuf-device.c: (dvi_pixbuf_create_image), (mdvi_pixbuf_device_render): * pdf/ev-poppler.cc: Don't generate thumbnails with alpha. See bug #324077. Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/ev-poppler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc
index 417e1ae..4fb1d9a 100644
--- a/pdf/ev-poppler.cc
+++ b/pdf/ev-poppler.cc
@@ -910,7 +910,7 @@ make_thumbnail_for_size (PdfDocument *pdf_document,
height = temp;
}
- pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8,
+ pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
width, height);
gdk_pixbuf_fill (pixbuf, 0xffffffff);