summaryrefslogtreecommitdiff
path: root/libview/ev-web-view.h
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-09-22 22:40:52 +0530
committerrootavish <[email protected]>2014-09-22 22:40:52 +0530
commita022a290b92a27975d5d3a526003fcdb9db1212f (patch)
tree1224440382ffe27fbdcd0a8ae2f17d5bdd84724f /libview/ev-web-view.h
parent5ac452a8a78841bf88dee6e7b0a9ea421299f669 (diff)
downloadatril-a022a290b92a27975d5d3a526003fcdb9db1212f.tar.bz2
atril-a022a290b92a27975d5d3a526003fcdb9db1212f.tar.xz
Can build with epub disabled
Added the required preprocessor directives to make building without epub support possible.
Diffstat (limited to 'libview/ev-web-view.h')
-rw-r--r--libview/ev-web-view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libview/ev-web-view.h b/libview/ev-web-view.h
index 74b7eb6b..29a22f06 100644
--- a/libview/ev-web-view.h
+++ b/libview/ev-web-view.h
@@ -22,6 +22,8 @@
#error "Only <atril-web_view.h> can be included directly."
#endif
+#include "config.h"
+#if ENABLE_EPUB
#ifndef __EV_WEB_VIEW_H__
#define __EV_WEB_VIEW_H__
@@ -87,3 +89,4 @@ void ev_web_view_disconnect_handlers (EvWebView *webview);
G_END_DECLS
#endif /* __EV_WEB_VIEW_H__ */
+#endif /* ENABLE_EPUB */ \ No newline at end of file