summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libview/ev-document-model.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libview/ev-document-model.c b/libview/ev-document-model.c
index 403df466..22956288 100644
--- a/libview/ev-document-model.c
+++ b/libview/ev-document-model.c
@@ -306,6 +306,14 @@ ev_document_model_set_document (EvDocumentModel *model,
g_object_notify (G_OBJECT (model), "document");
}
+/**
+ * ev_document_model_get_document:
+ * @model: a #EvDocumentModel
+ *
+ * Returns the #EvDocument referenced by the model.
+ *
+ * Returns: (transfer none): a #EvDocument
+ */
EvDocument *
ev_document_model_get_document (EvDocumentModel *model)
{