Commit 17f4f3ec authored by Greg Mansfield's avatar Greg Mansfield Committed by Paolo Bacchilega

suppress the warning messages when reading image matadata with exiv2

parent 9399f26d
......@@ -683,7 +683,8 @@ exiv2_read_metadata_from_file (GFile *file,
*error = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_FAILED, _("Invalid file format"));
return FALSE;
// Set the log level to only show errors (and suppress warnings, informational and debug messages)
exiv2_read_metadata (image, info);
catch (Exiv2::AnyError& e) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment