[gtk/assistant-cleanup: 2/4] assistant: Add docs



commit fb4f5e0a78b46138ca670d348d183fa60a35d2cd
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]