]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-document.h
Added Asturian translation on behalf of Mikel González
[evince.git] / libdocument / ev-document.h
index 7cb6d8470551f96e4b5f6574d51dde3ef5dc3278..3ab918adb6f6724e20a1c3d2c099a1efcf601ebe 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_H
 #define EV_DOCUMENT_H
 
@@ -178,7 +182,7 @@ static void     backend_name##_class_intern_init (gpointer klass)           \
 G_MODULE_EXPORT GType                                                          \
 register_evince_backend (GTypeModule *module)                                  \
 {                                                                              \
-       static const GTypeInfo our_info = {                                     \
+       const GTypeInfo our_info = {                                    \
                sizeof (BackendName##Class),                                    \
                NULL, /* base_init */                                           \
                NULL, /* base_finalize */                                       \