[gthumb] include jerror.h in transupp-62.h



commit 216193554ab157735a929e4c086e7fdbe3fb278c
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Apr 14 13:20:43 2010 +0200

    include jerror.h in transupp-62.h

 extensions/jpeg_utils/transupp-62.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/extensions/jpeg_utils/transupp-62.c b/extensions/jpeg_utils/transupp-62.c
index b7a892b..a5f276d 100644
--- a/extensions/jpeg_utils/transupp-62.c
+++ b/extensions/jpeg_utils/transupp-62.c
@@ -43,6 +43,7 @@
 
 #include <stdio.h>
 #include <jpeglib.h>
+#include <jerror.h>
 #include "transupp-62.h"		/* My own external interface */
 
 #ifndef MAX
@@ -54,14 +55,6 @@
 #define width_in_blocks  width_in_data_units
 #endif
 
-enum {
-  JERR_CONVERSION_NOTIMPL
-};
-
-#define ERREXIT(cinfo,code)  \
-  ((cinfo)->err->msg_code = (code), \
-   (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
-
 
 static long
 jround_up (long a, long b)



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