mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
Annotate GtkTreeModelSort.new_with_model() appropriately
The new_with_model() method is a constructor, and it returns a GtkTreeModelSort instance, even if the C API returns a GtkTreeModel for the convenience of C developers. Fixes: #1077
This commit is contained in:
parent
d868b23c76
commit
e4b8481dd0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user