Skip to content

Commit

Permalink
libview: fix build without epub
Browse files Browse the repository at this point in the history
Fixes #308
  • Loading branch information
raveit65 authored and monsta committed Mar 27, 2018
1 parent 82db9ce commit 4ecb058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libview/ev-jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -910,6 +908,8 @@ webview_load_failed_cb (WebKitWebView *webview,
return TRUE;
}

#endif /* ENABLE_EPUB */

static gboolean
ev_job_thumbnail_run (EvJob *job)
{
Expand Down

0 comments on commit 4ecb058

Please sign in to comment.