Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-document-images.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-images.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-images.h')
-rw-r--r--libdocument/ev-document-images.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/libdocument/ev-document-images.h b/libdocument/ev-document-images.h
index d9f6b02..8a02869 100644
--- a/libdocument/ev-document-images.h
+++ b/libdocument/ev-document-images.h
@@ -30,6 +30,7 @@
#include "ev-document.h"
#include "ev-image.h"
+#include "ev-mapping-list.h"
G_BEGIN_DECLS
@@ -47,17 +48,17 @@ struct _EvDocumentImagesInterface {
GTypeInterface base_iface;
/* Methods */
- GList *(* get_image_mapping) (EvDocumentImages *document_images,
- EvPage *page);
- GdkPixbuf *(* get_image) (EvDocumentImages *document_images,
- EvImage *image);
+ EvMappingList *(* get_image_mapping) (EvDocumentImages *document_images,
+ EvPage *page);
+ GdkPixbuf *(* get_image) (EvDocumentImages *document_images,
+ EvImage *image);
};
-GType ev_document_images_get_type (void) G_GNUC_CONST;
-GList *ev_document_images_get_image_mapping (EvDocumentImages *document_images,
- EvPage *page);
-GdkPixbuf *ev_document_images_get_image (EvDocumentImages *document_images,
- EvImage *image);
+GType ev_document_images_get_type (void) G_GNUC_CONST;
+EvMappingList *ev_document_images_get_image_mapping (EvDocumentImages *document_images,
+ EvPage *page);
+GdkPixbuf *ev_document_images_get_image (EvDocumentImages *document_images,
+ EvImage *image);
G_END_DECLS