Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-page-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-page-cache.h')
-rw-r--r--libview/ev-page-cache.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libview/ev-page-cache.h b/libview/ev-page-cache.h
index 43f4553..814ede7 100644
--- a/libview/ev-page-cache.h
+++ b/libview/ev-page-cache.h
@@ -17,12 +17,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef __EV_PAGE_CACHE_H__
#define __EV_PAGE_CACHE_H__
#include <gtk/gtk.h>
-#include "ev-document.h"
+#include <evince-document.h>
G_BEGIN_DECLS
#define EV_TYPE_PAGE_CACHE (ev_page_cache_get_type ())