]> www.fi.muni.cz Git - evince.git/commitdiff
[libdocument] Add single headers guards
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 23 May 2009 15:36:35 +0000 (17:36 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 23 May 2009 15:36:35 +0000 (17:36 +0200)
libdocument/ev-annotation.h
libdocument/ev-document-annotations.h

index 47d908dbadfe6c143a24acbe0b455ba9a8296271..456710c0be55615e75e9ccf9011ddfb1559e9ccd 100644 (file)
  * 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
 
index 3942ecfef0057330bd2ebaec36fc7c9fe5f3d9b2..ada6b37ac6fe443ddc6569e870a0cc1750ae2ca4 100644 (file)
  * 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