summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-03-27 11:20:38 +0200
committermonsta <[email protected]>2018-03-27 15:19:07 +0300
commit14d976238984f99a1f79f1329ef6d05be6c9f8e3 (patch)
treec485435ce4939f53aff0176a52f143433a836efc
parent315bfd267b5ede12d71e8d0c234d5358d3d3f28a (diff)
downloadatril-14d976238984f99a1f79f1329ef6d05be6c9f8e3.tar.bz2
atril-14d976238984f99a1f79f1329ef6d05be6c9f8e3.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 353f3400..abb3dc6f 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -858,8 +858,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,
@@ -892,6 +890,8 @@ webview_load_failed_cb (WebKitWebView *webview,
return TRUE;
}
+#endif /* ENABLE_EPUB */
+
static gboolean
ev_job_thumbnail_run (EvJob *job)
{