* backend/djvu/djvu-document.c: (djvu_document_load): Make sure
to always set @error when returning FALSE. Fix a typo.
svn path=/trunk/; revision=3454
+2009-02-14 Christian Persch <chpe@gnome.org>
+
+ * backend/djvu/djvu-document.c: (djvu_document_load): Make sure
+ to always set @error when returning FALSE. Fix a typo.
+
2009-02-14 Christian Persch <chpe@gnome.org>
* backend/tiff/tiff-document.c: (tiff_document_load): Make sure
if (!doc) {
g_free (filename);
+ g_set_error_literal (error,
+ EV_DOCUMENT_ERROR,
+ EV_DOCUMENT_ERROR_INVALID,
+ _("DJVU document has incorrect format"));
return FALSE;
}
g_set_error_literal (error,
G_FILE_ERROR,
G_FILE_ERROR_EXIST,
- _("The document is composed by several files. "
+ _("The document is composed of several files. "
"One or more of such files cannot be accessed."));
return FALSE;