Mercurial > geeqie
diff src/exif.c @ 177:0ca3b4c8ffae
started exiv2 integration
author | nadvornik |
---|---|
date | Wed, 13 Feb 2008 14:46:23 +0000 |
parents | 695e1ad3b169 |
children | c01dd7c9c7dc |
line wrap: on
line diff
--- a/src/exif.c Wed Feb 13 13:57:31 2008 +0000 +++ b/src/exif.c Wed Feb 13 14:46:23 2008 +0000 @@ -54,6 +54,8 @@ # include "config.h" #endif +#ifndef HAVE_EXIV2 + #include <stdio.h> #include <string.h> #include <fcntl.h> @@ -1232,7 +1234,7 @@ g_free(exif); } -ExifData *exif_read(FileData *fd, gint parse_color_profile) +ExifData *exif_read(gchar *path, gint parse_color_profile) { ExifData *exif; void *f; @@ -1241,7 +1243,7 @@ if (!fd) return NULL; - pathl = path_from_utf8(fd->path); + pathl = path_from_utf8(path); if (map_file(pathl, &f, &size) == -1) { g_free(pathl); @@ -1848,3 +1850,5 @@ fprintf(f, "----------------------------------------------------\n"); } +#endif +/* not HAVE_EXIV2 */