[gtk/assistant-cleanup: 1/3] assistant: Add docs



commit b41f77af3d1528d97b6fc906328ebf6ee966db67
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 14 14:29:54 2019 -0500

    assistant: Add docs
    
    Without this, introspection complains about a missing
    transfer annotation.

 gtk/gtkassistant.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 3dbdf0c323..f5a275260b 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -2545,6 +2545,14 @@ gtk_assistant_pages_new (GtkAssistant *assistant)
   return pages;
 }
 
+/**
+ * gtk_assistant_get_pages:
+ * @assistant: a #GtkAssistant
+ * 
+ * Gets a list model of the assistant pages.
+ *
+ * Returns: (transfer full): A list model of the pages.
+ */
 GListModel *
 gtk_assistant_get_pages (GtkAssistant *assistant)
 {


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