summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-08-17 17:57:36 +0530
committerrootavish <[email protected]>2014-08-17 18:05:18 +0530
commit3c122f6d867acecca4e7143d1d0707d7f188a64a (patch)
tree574fa03e3be2c0cdd9c2385b5e86ed465ed01ff5 /libview
parent3a3ff91d5572e068b000caa2a10d9c4f3d918f2c (diff)
downloadatril-3c122f6d867acecca4e7143d1d0707d7f188a64a.tar.bz2
atril-3c122f6d867acecca4e7143d1d0707d7f188a64a.tar.xz
Added epub3 navsheets
I came across a document that didn't have an old style toc, and thus the all accomodating navsheet support. Also fixed some mistakes here and there.
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-jobs.c2
-rw-r--r--libview/ev-web-view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index c4324a1c..eb4362a1 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -793,7 +793,7 @@ ev_job_thumbnail_dispose (GObject *object)
#if !GTK_CHECK_VERSION(3, 0, 0)
static void
web_thumbnail_get_screenshot_cb(WebKitWebView *webview,
- WebKitWebFrame *webframe,
+ GParamSpec *pspec,
EvJobThumbnail *job_thumb)
{
if (webkit_web_view_get_load_status(webview) != WEBKIT_LOAD_FINISHED) {
diff --git a/libview/ev-web-view.c b/libview/ev-web-view.c
index 5d1f5034..b42da163 100644
--- a/libview/ev-web-view.c
+++ b/libview/ev-web-view.c
@@ -249,7 +249,7 @@ ev_web_view_document_changed_cb (EvDocumentModel *model,
if(webview->document) {
g_object_ref(webview->document);
}
-
+ webview->inverted_stylesheet = FALSE;
gint current_page = ev_document_model_get_page(model);
ev_web_view_change_page (webview, current_page);