Description: track libpoppler25 API changes
 Track changes to the libpoppler25 API.
 .
 setErrorFunction -> setErrorCallback -- interface replaced
Author: Andy Whitcroft <apw@ubuntu.com>
Last-Update: 2012-06-13
Index: gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc
===================================================================
--- gnome-commander-1.2.8.15.orig/src/tags/gnome-cmd-tags-poppler.cc	2011-12-06 19:10:29.000000000 +0000
+++ gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc	2012-06-13 15:43:29.648428595 +0100
@@ -41,7 +41,7 @@
 static regex_t rxDate;
 static gboolean rxDate_OK;
 
-static void noErrorReporting(int pos, char *msg, va_list args)
+static void noErrorReporting(void *data, ErrorCategory category, int pos, char *msg)
 {
 }
 #endif
@@ -52,7 +52,7 @@
 #ifdef HAVE_PDF
     rxDate_OK = regcomp (&rxDate, "^(D:)?([12][019][0-9][0-9]([01][0-9]([0-3][0-9]([012][0-9]([0-5][0-9]([0-5][0-9])?)?)?)?)?)", REG_EXTENDED)==0;
 
-    setErrorFunction(noErrorReporting);
+    setErrorCallback(noErrorReporting, NULL);
 #endif
 }
 
