forked from AuroraMiddleware/gtk
Annotate more functions returning GListModel
Now that we can have an element-type annotation, we should use it where needed.
This commit is contained in:
parent
2a11f5f889
commit
555230ec9c
@ -2481,7 +2481,7 @@ gtk_assistant_pages_new (GtkAssistant *assistant)
|
||||
*
|
||||
* Gets a list model of the assistant pages.
|
||||
*
|
||||
* Returns: (transfer full): A list model of the pages.
|
||||
* Returns: (transfer full) (attributes element-type=GtkAssistantPage): A list model of the pages.
|
||||
*/
|
||||
GListModel *
|
||||
gtk_assistant_get_pages (GtkAssistant *assistant)
|
||||
|
@ -2172,8 +2172,8 @@ gtk_constraint_layout_add_constraints_from_description (GtkConstraintLayout *lay
|
||||
* Applications should try hard to avoid calling this function
|
||||
* because of the slowdowns.
|
||||
*
|
||||
* Returns: (transfer full): a #GListModel tracking @layout's
|
||||
* constraints
|
||||
* Returns: (transfer full) (attributes element-type=GtkConstraint): a
|
||||
* #GListModel tracking @layout's constraints
|
||||
*/
|
||||
GListModel *
|
||||
gtk_constraint_layout_observe_constraints (GtkConstraintLayout *layout)
|
||||
@ -2212,8 +2212,8 @@ gtk_constraint_layout_observe_constraints (GtkConstraintLayout *layout)
|
||||
* Applications should try hard to avoid calling this function
|
||||
* because of the slowdowns.
|
||||
*
|
||||
* Returns: (transfer full): a #GListModel tracking @layout's
|
||||
* guides
|
||||
* Returns: (transfer full) (attributes element-type=GtkConstraintGuide): a
|
||||
* #GListModel tracking @layout's guides
|
||||
*/
|
||||
GListModel *
|
||||
gtk_constraint_layout_observe_guides (GtkConstraintLayout *layout)
|
||||
|
@ -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)
|
||||
|
@ -11677,7 +11677,8 @@ gtk_widget_child_observer_destroyed (gpointer widget)
|
||||
* Applications should try hard to avoid calling this function because of
|
||||
* the slowdowns.
|
||||
*
|
||||
* Returns: (transfer full): a #GListModel tracking @widget's children
|
||||
* Returns: (transfer full) (attributes element-type=GtkWidget): a #GListModel
|
||||
* tracking @widget's children
|
||||
**/
|
||||
GListModel *
|
||||
gtk_widget_observe_children (GtkWidget *widget)
|
||||
@ -11749,7 +11750,8 @@ gtk_widget_controller_list_get_item (gpointer item,
|
||||
* Applications should try hard to avoid calling this function because of
|
||||
* the slowdowns.
|
||||
*
|
||||
* Returns: (transfer full): a #GListModel tracking @widget's controllers
|
||||
* Returns: (transfer full) (attributes element-type=GtkEventController): a
|
||||
* #GListModel tracking @widget's controllers
|
||||
**/
|
||||
GListModel *
|
||||
gtk_widget_observe_controllers (GtkWidget *widget)
|
||||
|
Loading…
Reference in New Issue
Block a user