Merge branch 'fix-treemodelsort_processed_as_treemodel' into 'master'

Annotate GtkTreeModelSort.new_with_model() appropriately

See merge request GNOME/gtk!1134
This commit is contained in:
Emmanuele Bassi 2019-12-03 15:36:43 +00:00
commit 9b5a7ae802

View File

@ -526,12 +526,12 @@ gtk_tree_model_sort_drag_source_init (GtkTreeDragSourceIface *iface)
}
/**
* gtk_tree_model_sort_new_with_model:
* gtk_tree_model_sort_new_with_model: (constructor)
* @child_model: A #GtkTreeModel
*
* Creates a new #GtkTreeModel, with @child_model as the child model.
* Creates a new #GtkTreeModelSort, with @child_model as the child model.
*
* Returns: (transfer full): A new #GtkTreeModel.
* Returns: (transfer full) (type Gtk.TreeModelSort): A new #GtkTreeModelSort.
*/
GtkTreeModel *
gtk_tree_model_sort_new_with_model (GtkTreeModel *child_model)