summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-14 14:29:54 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-15 10:23:48 -0500
commitfb4f5e0a78b46138ca670d348d183fa60a35d2cd (patch)
tree6ef91be0da23a8ff29c1ac020c1f6c4a91d95a2d /gtk/gtkassistant.c
parentaa552229c96b97d1e8366cbe727ae9de45cc4db0 (diff)
downloadgtk+-fb4f5e0a78b46138ca670d348d183fa60a35d2cd.tar.gz
assistant: Add docs
Without this, introspection complains about a missing transfer annotation.
Diffstat (limited to 'gtk/gtkassistant.c')
-rw-r--r--gtk/gtkassistant.c8
1 files changed, 8 insertions, 0 deletions
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)
{