diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-05-19 22:39:17 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-05-19 22:39:17 +0200 |
commit | e8573ba3172cb5c21bda75436156632a2c7c104d (patch) | |
tree | e5e274829ae780e91633f9c764fc1c3893f1604f /src/exiv2wrapper_python.cpp | |
parent | 0c2a0abd2ee15ac0d239daa8656347b550bd1d9c (diff) | |
download | pyexiv2-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.cpp | 2 |
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) |