summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-04-27 14:46:23 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-04-28 13:31:59 +0100
commit555230ec9c6018fe17765e85377b9cfba3dce64e (patch)
treeb436ef48be84a975006df2dfb47e4500572774d2 /gtk/gtknotebook.c
parent2a11f5f8893170c65e0724511eeed66e3eb2f6b1 (diff)
downloadgtk+-555230ec9c6018fe17765e85377b9cfba3dce64e.tar.gz
Annotate more functions returning GListModel
Now that we can have an element-type annotation, we should use it where needed.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 3a22d028c8..a594e7974d 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -7190,7 +7190,8 @@ gtk_notebook_pages_new (GtkNotebook *notebook)
* Returns a #GListModel that contains the pages of the notebook,
* and can be used to keep an up-to-date view.
*
- * Returns: (transfer full): a #GListModel for the notebook's children
+ * Returns: (transfer full) (attributes element-type=GtkNotebookPage): a
+ * #GListModel for the notebook's children
*/
GListModel *
gtk_notebook_get_pages (GtkNotebook *notebook)