Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-document-annotations.c
diff options
context:
space:
mode:
authorCarlos 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)
commit837897ffba5a5e4e5685c1ffdeb1d4d87083a052 (patch)
treee9b53ce0094a11414dd57771e84265ad32813394 /libdocument/ev-document-annotations.c
parent698e8119ca94fd58c3604d4b09b15026dc2415ab (diff)
[libdocument] Use G_DEFINE_INTERFACE instead of out own macro
Diffstat (limited to 'libdocument/ev-document-annotations.c')
-rw-r--r--libdocument/ev-document-annotations.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libdocument/ev-document-annotations.c b/libdocument/ev-document-annotations.c
index 61dad6b..4523fb4 100644
--- a/libdocument/ev-document-annotations.c
+++ b/libdocument/ev-document-annotations.c
@@ -21,10 +21,10 @@
#include "ev-document-annotations.h"
-EV_DEFINE_INTERFACE (EvDocumentAnnotations, ev_document_annotations, 0)
+G_DEFINE_INTERFACE (EvDocumentAnnotations, ev_document_annotations, 0)
static void
-ev_document_annotations_class_init (EvDocumentAnnotationsIface *klass)
+ev_document_annotations_default_init (EvDocumentAnnotationsInterface *klass)
{
}
@@ -32,7 +32,7 @@ GList *
ev_document_annotations_get_annotations (EvDocumentAnnotations *document_annots,
EvPage *page)
{
- EvDocumentAnnotationsIface *iface = EV_DOCUMENT_ANNOTATIONS_GET_IFACE (document_annots);
+ EvDocumentAnnotationsInterface *iface = EV_DOCUMENT_ANNOTATIONS_GET_IFACE (document_annots);
return iface->get_annotations (document_annots, page);
}
@@ -42,7 +42,7 @@ ev_document_annotations_annotation_set_contents (EvDocumentAnnotations *document
EvAnnotation *annot,
const gchar *contents)
{
- EvDocumentAnnotationsIface *iface = EV_DOCUMENT_ANNOTATIONS_GET_IFACE (document_annots);
+ EvDocumentAnnotationsInterface *iface = EV_DOCUMENT_ANNOTATIONS_GET_IFACE (document_annots);
iface->annotation_set_contents (document_annots, annot, contents);
}