[evince] document-model: annotate ev_document_model_get_document()



commit a6b50f168aed6caccadcece69010b9b106200ff8
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Oct 25 18:23:13 2011 -0400

    document-model: annotate ev_document_model_get_document()
    
    So that introspected bindings can call into this method.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662720

 libview/ev-document-model.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-document-model.c b/libview/ev-document-model.c
index 727264a..30353c3 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)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]