aboutsummaryrefslogtreecommitdiff
path: root/thumbs.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2012-02-11 02:42:52 +0100
committerBert Münnich <ber.t@gmx.com>2012-02-11 02:42:52 +0100
commitef0ed3226428c00507e76bdda77c522729ed6809 (patch)
tree41f4a1675c6a5fada955d331485010d5d0863590 /thumbs.c
parentc3c95ab2187037793f9a827a8930eb4080337487 (diff)
Removed exif support; made gif support non-optional
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/thumbs.c b/thumbs.c
index 451947e..bbb97b9 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -17,7 +17,6 @@
*/
#define _POSIX_C_SOURCE 200112L
-#define _FEATURE_CONFIG
#define _THUMBS_CONFIG
#include <stdlib.h>
@@ -31,10 +30,6 @@
#include "util.h"
#include "config.h"
-#if EXIF_SUPPORT
-void exif_auto_orientate(const fileinfo_t*);
-#endif
-
const int thumb_dim = THUMB_SIZE + 10;
char *cache_dir = NULL;
@@ -211,7 +206,7 @@ void tns_free(tns_t *tns) {
}
bool tns_load(tns_t *tns, int n, const fileinfo_t *file,
- bool force, bool silent)
+ bool force, bool silent)
{
int w, h;
bool use_cache, cache_hit = false;
@@ -259,10 +254,6 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file,
imlib_free_image_and_decache();
return false;
}
-#if EXIF_SUPPORT
- if (!cache_hit && STREQ(fmt, "jpeg"))
- exif_auto_orientate(file);
-#endif
w = imlib_image_get_width();
h = imlib_image_get_height();