gimp r25611 - in trunk: . plug-ins/common



Author: yosh
Date: Sat May 10 10:36:17 2008
New Revision: 25611
URL: http://svn.gnome.org/viewvc/gimp?rev=25611&view=rev

Log:
2008-05-10  Manish Singh  <yosh gimp org>

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


Modified:
   trunk/ChangeLog
   trunk/plug-ins/common/poppler.c

Modified: trunk/plug-ins/common/poppler.c
==============================================================================
--- trunk/plug-ins/common/poppler.c	(original)
+++ trunk/plug-ins/common/poppler.c	Sat May 10 10:36:17 2008
@@ -675,7 +675,15 @@
   if (! page)
     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);
+#endif
+
 
   if (! pixbuf)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]