gimp r25617 - in branches/gimp-2-4: . plug-ins/common
- From: yosh svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25617 - in branches/gimp-2-4: . plug-ins/common
- Date: Sat, 10 May 2008 13:12:13 +0100 (BST)
Author: yosh
Date: Sat May 10 12:12:13 2008
New Revision: 25617
URL: http://svn.gnome.org/viewvc/gimp?rev=25617&view=rev
Log:
2008-05-10  Manish Singh  <yosh gimp org>
        * plug-ins/common/poppler.c: Support poppler 0.8.x.
Modified:
   branches/gimp-2-4/ChangeLog
   branches/gimp-2-4/plug-ins/common/poppler.c
Modified: branches/gimp-2-4/plug-ins/common/poppler.c
==============================================================================
--- branches/gimp-2-4/plug-ins/common/poppler.c	(original)
+++ branches/gimp-2-4/plug-ins/common/poppler.c	Sat May 10 12:12:13 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]