Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-document-annotations.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-07-11 08:52:34 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-07-12 17:12:01 (GMT)
commit356536f6b8b44bfcf13c644a26ecdd583465bc0f (patch)
tree8b9cb701358fccc2d3a269f02308fd99fe853b0c /libdocument/ev-document-annotations.h
parentc3f6c6c0006922557b54e263513c38ac7c88a12d (diff)
Add EvMappingList data struct instead of using a GList
It just wraps the GList and adds reference counting
Diffstat (limited to 'libdocument/ev-document-annotations.h')
-rw-r--r--libdocument/ev-document-annotations.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/libdocument/ev-document-annotations.h b/libdocument/ev-document-annotations.h
index 8f06b11..6da49d9 100644
--- a/libdocument/ev-document-annotations.h
+++ b/libdocument/ev-document-annotations.h
@@ -29,6 +29,7 @@
#include "ev-document.h"
#include "ev-annotation.h"
+#include "ev-mapping-list.h"
G_BEGIN_DECLS
@@ -47,20 +48,20 @@ struct _EvDocumentAnnotationsInterface
GTypeInterface base_iface;
/* Methods */
- GList *(* get_annotations) (EvDocumentAnnotations *document_annots,
- EvPage *page);
- void (* annotation_set_contents) (EvDocumentAnnotations *document_annots,
- EvAnnotation *annot,
- const gchar *contents);
+ EvMappingList *(* get_annotations) (EvDocumentAnnotations *document_annots,
+ EvPage *page);
+ void (* annotation_set_contents) (EvDocumentAnnotations *document_annots,
+ EvAnnotation *annot,
+ const gchar *contents);
};
-GType ev_document_annotations_get_type (void) G_GNUC_CONST;
-GList *ev_document_annotations_get_annotations (EvDocumentAnnotations *document_annots,
- EvPage *page);
+GType ev_document_annotations_get_type (void) G_GNUC_CONST;
+EvMappingList *ev_document_annotations_get_annotations (EvDocumentAnnotations *document_annots,
+ EvPage *page);
-void ev_document_annotations_annotation_set_contents (EvDocumentAnnotations *document_annots,
- EvAnnotation *annot,
- const gchar *contents);
+void ev_document_annotations_annotation_set_contents (EvDocumentAnnotations *document_annots,
+ EvAnnotation *annot,
+ const gchar *contents);
G_END_DECLS