X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-document-layers.h;h=22b339fe3a4e3ce18600a072565229bfcffb7076;hb=18d2af9bce80392407fae997c8dfa029f5a54123;hp=506808bacd299329e712878728502a412796d900;hpb=1c96a6ef31a59a3d2498931bafa8151164e3e45e;p=evince.git diff --git a/libdocument/ev-document-layers.h b/libdocument/ev-document-layers.h index 506808ba..22b339fe 100644 --- a/libdocument/ev-document-layers.h +++ b/libdocument/ev-document-layers.h @@ -15,9 +15,13 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef EV_DOCUMENT_LAYERS_H #define EV_DOCUMENT_LAYERS_H @@ -31,13 +35,13 @@ G_BEGIN_DECLS #define EV_TYPE_DOCUMENT_LAYERS (ev_document_layers_get_type ()) #define EV_DOCUMENT_LAYERS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayers)) -#define EV_DOCUMENT_LAYERS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersIface)) +#define EV_DOCUMENT_LAYERS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface)) #define EV_IS_DOCUMENT_LAYERS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_LAYERS)) #define EV_IS_DOCUMENT_LAYERS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_LAYERS)) -#define EV_DOCUMENT_LAYERS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersIface)) +#define EV_DOCUMENT_LAYERS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface)) -typedef struct _EvDocumentLayers EvDocumentLayers; -typedef struct _EvDocumentLayersIface EvDocumentLayersIface; +typedef struct _EvDocumentLayers EvDocumentLayers; +typedef struct _EvDocumentLayersInterface EvDocumentLayersInterface; enum { EV_DOCUMENT_LAYERS_COLUMN_TITLE, @@ -49,7 +53,7 @@ enum { EV_DOCUMENT_LAYERS_N_COLUMNS }; -struct _EvDocumentLayersIface +struct _EvDocumentLayersInterface { GTypeInterface base_iface;