mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
docs: Fix gtk_tree_selection_get_selected_rows()
Reword the description and return value so that they look better on docs.gtk.org.
This commit is contained in:
parent
4f54fcd288
commit
1900fc2f80
@ -541,9 +541,12 @@ gtk_tree_selection_get_selected (GtkTreeSelection *selection,
|
||||
* @selection: A #GtkTreeSelection.
|
||||
* @model: (out) (allow-none) (transfer none): A pointer to set to the #GtkTreeModel, or %NULL.
|
||||
*
|
||||
* Creates a list of path of all selected rows. Additionally, if you are
|
||||
* planning on modifying the model after calling this function, you may
|
||||
* want to convert the returned list into a list of #GtkTreeRowReferences.
|
||||
* Creates a list of path of all selected rows.
|
||||
*
|
||||
* Additionally, if you are planning on modifying the model after calling
|
||||
* this function, you may want to convert the returned list into a list
|
||||
* of #GtkTreeRowReferences.
|
||||
*
|
||||
* To do this, you can use gtk_tree_row_reference_new().
|
||||
*
|
||||
* To free the return value, use:
|
||||
@ -552,7 +555,7 @@ gtk_tree_selection_get_selected (GtkTreeSelection *selection,
|
||||
* g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);
|
||||
* ]|
|
||||
*
|
||||
* Returns: (element-type GtkTreePath) (transfer full): A #GList containing a #GtkTreePath for each selected row.
|
||||
* Returns: (element-type GtkTreePath) (transfer full): the selected paths
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user