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:
|
* To free the return value, use:
|
||||||
* |[
|
* |[
|
||||||
* g_list_foreach (list, (GFunc) gtk_tree_path_free, NULL);
|
* g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);
|
||||||
* g_list_free (list);
|
|
||||||
* ]|
|
* ]|
|
||||||
*
|
*
|
||||||
* Return value: (element-type GtkTreePath) (transfer full): A #GList containing a #GtkTreePath for each selected row.
|
* Return value: (element-type GtkTreePath) (transfer full): A #GList containing a #GtkTreePath for each selected row.
|
||||||
|
|||||||
Reference in New Issue
Block a user