]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-document-misc.h
[libdocument] Protect some public methods with g_return macros
[evince.git] / libdocument / ev-document-misc.h
index 5fdb670f0cf69f1d41859cc34e55daa3095c5e54..5a2ea035d8d209cb8d19bea5872b8bd3256fd71e 100644 (file)
  *  $Id$
  */
 
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
 #ifndef EV_DOCUMENT_MISC_H
 #define EV_DOCUMENT_MISC_H
 
 #include <cairo.h>
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gtk/gtkstyle.h>
+#include <gtk/gtk.h>
 
 G_BEGIN_DECLS