From 837897ffba5a5e4e5685c1ffdeb1d4d87083a052 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 07 May 2010 11:05:07 +0000 Subject: [libdocument] Use G_DEFINE_INTERFACE instead of out own macro --- (limited to 'libdocument/ev-document-annotations.h') diff --git a/libdocument/ev-document-annotations.h b/libdocument/ev-document-annotations.h index 9349675..8f06b11 100644 --- a/libdocument/ev-document-annotations.h +++ b/libdocument/ev-document-annotations.h @@ -34,15 +34,15 @@ G_BEGIN_DECLS #define EV_TYPE_DOCUMENT_ANNOTATIONS (ev_document_annotations_get_type ()) #define EV_DOCUMENT_ANNOTATIONS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotations)) -#define EV_DOCUMENT_ANNOTATIONS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotationsIface)) +#define EV_DOCUMENT_ANNOTATIONS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotationsInterface)) #define EV_IS_DOCUMENT_ANNOTATIONS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_ANNOTATIONS)) #define EV_IS_DOCUMENT_ANNOTATIONS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_ANNOTATIONS)) -#define EV_DOCUMENT_ANNOTATIONS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotationsIface)) +#define EV_DOCUMENT_ANNOTATIONS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotationsInterface)) -typedef struct _EvDocumentAnnotations EvDocumentAnnotations; -typedef struct _EvDocumentAnnotationsIface EvDocumentAnnotationsIface; +typedef struct _EvDocumentAnnotations EvDocumentAnnotations; +typedef struct _EvDocumentAnnotationsInterface EvDocumentAnnotationsInterface; -struct _EvDocumentAnnotationsIface +struct _EvDocumentAnnotationsInterface { GTypeInterface base_iface; -- cgit v0.9.1