aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper_python.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-05-19 22:39:17 +0200
committerOlivier Tilloy <olivier@tilloy.net>2010-05-19 22:39:17 +0200
commite8573ba3172cb5c21bda75436156632a2c7c104d (patch)
treee5e274829ae780e91633f9c764fc1c3893f1604f /src/exiv2wrapper_python.cpp
parent0c2a0abd2ee15ac0d239daa8656347b550bd1d9c (diff)
downloadpyexiv2-e8573ba3172cb5c21bda75436156632a2c7c104d.tar.gz
Attach the image's IptcData to a tag when it is assigned to an image.
Remove redundant code that would set the values of a tag twice (in the tag itself, and in the image). Remove the now useless metadata attribute.
Diffstat (limited to 'src/exiv2wrapper_python.cpp')
-rw-r--r--src/exiv2wrapper_python.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exiv2wrapper_python.cpp b/src/exiv2wrapper_python.cpp
index e970c69..77a7df7 100644
--- a/src/exiv2wrapper_python.cpp
+++ b/src/exiv2wrapper_python.cpp
@@ -64,6 +64,7 @@ BOOST_PYTHON_MODULE(libexiv2python)
class_<IptcTag>("_IptcTag", init<std::string>())
.def("_setRawValues", &IptcTag::setRawValues)
+ .def("_setParentImage", &IptcTag::setParentImage)
.def("_getKey", &IptcTag::getKey)
.def("_getType", &IptcTag::getType)
@@ -135,7 +136,6 @@ BOOST_PYTHON_MODULE(libexiv2python)
.def("_iptcKeys", &Image::iptcKeys)
.def("_getIptcTag", &Image::getIptcTag)
- .def("_setIptcTagValues", &Image::setIptcTagValues)
.def("_deleteIptcTag", &Image::deleteIptcTag)
.def("_xmpKeys", &Image::xmpKeys)