docs: Update code demo for newer glib

This commit is contained in:
Benjamin Otte
2011-12-10 05:26:06 +01:00
parent 4d3986e709
commit 4dbedb7481

View File

@ -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.