[gnome-documents/wip/gepub: 3/4] epub: use new libgepub API
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/gepub: 3/4] epub: use new libgepub API
- Date: Mon, 20 Jun 2016 04:23:30 +0000 (UTC)
commit 31f342a0b15a291bed800331ff5e287fcc9d5851
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]