[gnome-documents/wip/gepub] epub: use new libgepub API
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/gepub] epub: use new libgepub API
- Date: Sun, 12 Jun 2016 23:06:17 +0000 (UTC)
commit 8af1e600c2e149a97982835b7a5218c69df61abf
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Jun 12 16:03:18 2016 -0700
epub: use new libgepub API
src/epubview.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/epubview.js b/src/epubview.js
index bbe4ed9..97b2ec5 100644
--- a/src/epubview.js
+++ b/src/epubview.js
@@ -113,7 +113,7 @@ const EPUBView = new Lang.Class({
// removing 'epub://'
var path = uri.slice(7);
var stream = new Gio.MemoryInputStream();
- var data = this._epubdoc.get_resource_v(path);
+ var data = this._epubdoc.get_resource(path);
var mime = this._epubdoc.get_resource_mime(path);
stream.add_data(data);
req.finish(stream, data.length, mime);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]