[gtk/stack-fixes: 10/13] selection model: Add a doc comment



commit 0857a8abe991317087c18c22b826add6ac126ce6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 9 13:07:15 2019 -0500

    selection model: Add a doc comment
    
    Introspection complains about the lack of transfer annotation
    otherwise.

 gtk/gtkselectionmodel.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/gtk/gtkselectionmodel.c b/gtk/gtkselectionmodel.c
index c5d9836c64..d004e3886d 100644
--- a/gtk/gtkselectionmodel.c
+++ b/gtk/gtkselectionmodel.c
@@ -264,6 +264,14 @@ gtk_selection_model_unselect_all (GtkSelectionModel *model)
   return iface->unselect_all (model);
 }
 
+/**
+ * gtk_selection_model_get_model:
+ * @model: a #GtkSelectionModel
+ *
+ * Gets the underlying model of @model.
+ *
+ * Returns: (transfer none): the underlying model
+ */
 GListModel *
 gtk_selection_model_get_model (GtkSelectionModel *model)
 {


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