Commit e76b7916 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

Support poppler 0.8.x.

2008-05-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/poppler.c: Support poppler 0.8.x.

svn path=/trunk/; revision=25611
parent 05320b55
2008-05-10 Manish Singh <yosh@gimp.org>
* plug-ins/common/poppler.c: Support poppler 0.8.x.
2008-05-10 Martin Nordholts <martinn@svn.gnome.org> 2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c * app/tools/gimprectangletool.c
......
...@@ -675,7 +675,15 @@ get_thumbnail (PopplerDocument *doc, ...@@ -675,7 +675,15 @@ get_thumbnail (PopplerDocument *doc,
if (! page) if (! page)
return NULL; return NULL;
/* XXX: Remove conditional when we depend on poppler 0.8.0, but also
* add configure check to make sure POPPLER_WITH_GDK is enabled!
*/
#ifdef POPPLER_WITH_GDK
pixbuf = poppler_page_get_thumbnail_pixbuf (page);
#else
pixbuf = poppler_page_get_thumbnail (page); pixbuf = poppler_page_get_thumbnail (page);
#endif
if (! pixbuf) if (! pixbuf)
{ {
......
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