Skip to content

Commit 4ecb058

Browse files
raveit65monsta
authored andcommitted
libview: fix build without epub
Fixes #308
1 parent 82db9ce commit 4ecb058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libview/ev-jobs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,8 +876,6 @@ snapshot_callback(WebKitWebView *webview,
876876
gtk_widget_destroy (gtk_widget_get_toplevel (GTK_WIDGET (webview)));
877877
}
878878

879-
#endif /* ENABLE_EPUB */
880-
881879
static void
882880
web_thumbnail_get_screenshot_cb (WebKitWebView *webview,
883881
WebKitLoadEvent event,
@@ -910,6 +908,8 @@ webview_load_failed_cb (WebKitWebView *webview,
910908
return TRUE;
911909
}
912910

911+
#endif /* ENABLE_EPUB */
912+
913913
static gboolean
914914
ev_job_thumbnail_run (EvJob *job)
915915
{

0 commit comments

Comments
 (0)