diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-07 11:05:07 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-07 11:05:07 (GMT) |
commit | 837897ffba5a5e4e5685c1ffdeb1d4d87083a052 (patch) | |
tree | e9b53ce0094a11414dd57771e84265ad32813394 /libdocument/ev-document-annotations.h | |
parent | 698e8119ca94fd58c3604d4b09b15026dc2415ab (diff) |
[libdocument] Use G_DEFINE_INTERFACE instead of out own macro
Diffstat (limited to 'libdocument/ev-document-annotations.h')
-rw-r--r-- | libdocument/ev-document-annotations.h | 10 |
1 files changed, 5 insertions, 5 deletions
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; |