diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-05-23 15:36:35 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-05-23 15:36:35 (GMT) |
commit | 26b1533e697112e62c0373f5d38ebf18d0f491f4 (patch) | |
tree | 154c25a54d16345836ccb742a1168a193b1adb44 | |
parent | 776a6fe02961d8901d21e172633d3c8d1c85dc93 (diff) |
[libdocument] Add single headers guards
-rw-r--r-- | libdocument/ev-annotation.h | 4 | ||||
-rw-r--r-- | libdocument/ev-document-annotations.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libdocument/ev-annotation.h b/libdocument/ev-annotation.h index 47d908d..456710c 100644 --- a/libdocument/ev-annotation.h +++ b/libdocument/ev-annotation.h @@ -19,6 +19,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only <evince-document.h> can be included directly." +#endif + #ifndef EV_ANNOTATION_H #define EV_ANNOTATION_H diff --git a/libdocument/ev-document-annotations.h b/libdocument/ev-document-annotations.h index 3942ecf..ada6b37 100644 --- a/libdocument/ev-document-annotations.h +++ b/libdocument/ev-document-annotations.h @@ -18,6 +18,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only <evince-document.h> can be included directly." +#endif + #ifndef EV_DOCUMENT_ANNOTATIONS_H #define EV_DOCUMENT_ANNOTATIONS_H |