projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40c858b
)
Fix build against exiv2-0.27.1+
author
Pieter Krul
<github@krul.cc>
Sun, 12 May 2019 01:23:44 +0000
(
03:23
+0200)
committer
Pieter Krul
<github@krul.cc>
Sun, 2 Jun 2019 16:06:40 +0000
(18:06 +0200)
src/exiv2.cc
patch
|
blob
|
history
diff --git
a/src/exiv2.cc
b/src/exiv2.cc
index
2992740
..
2b31708
100644
(file)
--- a/
src/exiv2.cc
+++ b/
src/exiv2.cc
@@
-364,7
+364,7
@@
public:
Exiv2::Image *image = imageData_->image();
#ifdef HAVE_EXIV2_ERROR_CODE
Exiv2::Image *image = imageData_->image();
#ifdef HAVE_EXIV2_ERROR_CODE
- if (!image) throw Exiv2::Error(Exiv2::
ErrorCode::
kerInputDataReadFailed);
+ if (!image) throw Exiv2::Error(Exiv2::kerInputDataReadFailed);
#else
if (!image) throw Exiv2::Error(21);
#endif
#else
if (!image) throw Exiv2::Error(21);
#endif
@@
-388,7
+388,7
@@
public:
sidecar->writeMetadata();
#else
#ifdef HAVE_EXIV2_ERROR_CODE
sidecar->writeMetadata();
#else
#ifdef HAVE_EXIV2_ERROR_CODE
- throw Exiv2::Error(Exiv2::
ErrorCode::
kerNotAnImage, "xmp");
+ throw Exiv2::Error(Exiv2::kerNotAnImage, "xmp");
#else
throw Exiv2::Error(3, "xmp");
#endif
#else
throw Exiv2::Error(3, "xmp");
#endif