summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-attachments.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-document-attachments.c')
-rw-r--r--libdocument/ev-document-attachments.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdocument/ev-document-attachments.c b/libdocument/ev-document-attachments.c
index 3c59375e..6b1b695f 100644
--- a/libdocument/ev-document-attachments.c
+++ b/libdocument/ev-document-attachments.c
@@ -38,6 +38,12 @@ ev_document_attachments_has_attachments (EvDocumentAttachments *document_attachm
return iface->has_attachments (document_attachments);
}
+/**
+ * ev_document_attachments_get_attachments:
+ * @document_attachments: an #EvDocumentAttachments
+ *
+ * Returns: (transfer full) (element-type EvAttachment): a list of #EvAttachment objects
+ */
GList *
ev_document_attachments_get_attachments (EvDocumentAttachments *document_attachments)
{