X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-document.h;h=3ab918adb6f6724e20a1c3d2c099a1efcf601ebe;hb=16cc05ec4f7663103e45a52ac06d292e6b75a8c0;hp=7cb6d8470551f96e4b5f6574d51dde3ef5dc3278;hpb=ab26fbf217460c766111850bf40725e5e65a5533;p=evince.git diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h index 7cb6d847..3ab918ad 100644 --- a/libdocument/ev-document.h +++ b/libdocument/ev-document.h @@ -19,6 +19,10 @@ * $Id$ */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only 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 */ \