gthumb r2249 - in trunk: . libgthumb
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gthumb r2249 - in trunk: . libgthumb
- Date: Mon, 4 Feb 2008 18:58:15 +0000 (GMT)
Author: mjc
Date: Mon Feb 4 18:58:15 2008
New Revision: 2249
URL: http://svn.gnome.org/viewvc/gthumb?rev=2249&view=rev
Log:
2008-02-04 Michael J. Chudobiak <mjc svn gnome org>
* libgthumb/gth-exiv2-utils.cpp:
XMP-related code must be inside an ifdef.
Modified:
trunk/ChangeLog
trunk/libgthumb/gth-exiv2-utils.cpp
Modified: trunk/libgthumb/gth-exiv2-utils.cpp
==============================================================================
--- trunk/libgthumb/gth-exiv2-utils.cpp (original)
+++ trunk/libgthumb/gth-exiv2-utils.cpp Mon Feb 4 18:58:15 2008
@@ -562,10 +562,12 @@
Exiv2::IptcData &md = image1->iptcData();
md[metadatum->full_name] = metadatum->raw_value;
}
- else if (g_str_has_prefix (metadatum->full_name, "Xmp")) {
+#ifdef HAVE_EXIV2_XMP_HPP
+ else if (g_str_has_prefix (metadatum->full_name, "Xmp")) {
Exiv2::XmpData &md = image1->xmpData();
md[metadatum->full_name] = metadatum->raw_value;
}
+#endif
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]