Comment 10 for bug 307459

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

Well, we already check the retval, but we don't properly fill the GError, and that's why evince doesn't notice an error ocurred. The problem is that there's no way to know why saveAs() failed, it might be because the document is encrypted or because the file couldn't be open for writing. We could probably use PDFDoc::errCode, what do you think?