Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-pixbuf-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-pixbuf-cache.h')
-rw-r--r--libview/ev-pixbuf-cache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libview/ev-pixbuf-cache.h b/libview/ev-pixbuf-cache.h
index 5e48f28..a22634e 100644
--- a/libview/ev-pixbuf-cache.h
+++ b/libview/ev-pixbuf-cache.h
@@ -21,13 +21,16 @@
* ev-view.c from exploding.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef __EV_PIXBUF_CACHE_H__
#define __EV_PIXBUF_CACHE_H__
#include <gtk/gtk.h>
-#include "ev-document.h"
-#include "ev-selection.h"
+#include <evince-document.h>
G_BEGIN_DECLS