summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-03-27 11:20:38 +0200
committerraveit65 <[email protected]>2018-03-27 11:23:40 +0200
commitefe29e6c72178f0970ded735560dc34e6fd05d87 (patch)
tree8e1894c944c7022fe4c5eec57ce94651fe8607ae
parent01b6544c18c63a6818fedca1413546bd3cdb19a0 (diff)
downloadatril-efe29e6c72178f0970ded735560dc34e6fd05d87.tar.bz2
atril-efe29e6c72178f0970ded735560dc34e6fd05d87.tar.xz
libview: fix build without epub
Fixes https://github.com/mate-desktop/atril/issues/308
-rw-r--r--libview/ev-jobs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index 0fd2554f..607bc2c2 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -876,8 +876,6 @@ snapshot_callback(WebKitWebView *webview,
gtk_widget_destroy (gtk_widget_get_toplevel (GTK_WIDGET (webview)));
}
-#endif /* ENABLE_EPUB */
-
static void
web_thumbnail_get_screenshot_cb (WebKitWebView *webview,
WebKitLoadEvent event,
@@ -910,6 +908,8 @@ webview_load_failed_cb (WebKitWebView *webview,
return TRUE;
}
+#endif /* ENABLE_EPUB */
+
static gboolean
ev_job_thumbnail_run (EvJob *job)
{