Skip to content
Permalink
Browse files
epub: allow to save epub documents
  • Loading branch information
raveit65 committed Mar 16, 2018
1 parent ea3dfb1 commit 1f6278d8158b56707b412281d46e1ec06fe1a4fc
Showing with 5 additions and 1 deletion.
  1. +5 −1 backend/epub/epub-document.c
@@ -352,7 +352,11 @@ epub_document_save (EvDocument *document,
{
EpubDocument *epub_document = EPUB_DOCUMENT (document);

return ev_xfer_uri_simple (epub_document->archivename, uri, error);
gchar *source_uri = g_filename_to_uri (epub_document->archivename, NULL, error);
if (source_uri == NULL)
return FALSE;

return ev_xfer_uri_simple (source_uri, uri, error);
}

static int

0 comments on commit 1f6278d

Please sign in to comment.