docs: Update code demo for newer glib
This commit is contained in:
@ -554,8 +554,7 @@ gtk_tree_selection_get_selected (GtkTreeSelection *selection,
|
||||
*
|
||||
* To free the return value, use:
|
||||
* |[
|
||||
* g_list_foreach (list, (GFunc) gtk_tree_path_free, NULL);
|
||||
* g_list_free (list);
|
||||
* g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);
|
||||
* ]|
|
||||
*
|
||||
* Return value: (element-type GtkTreePath) (transfer full): A #GList containing a #GtkTreePath for each selected row.
|
||||
|
||||
Reference in New Issue
Block a user