[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code

Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
This commit is contained in:
Javier Jardón 2009-12-18 04:34:15 +01:00
parent 702ee3b350
commit 7e11475298

View File

@ -411,7 +411,7 @@ gtk_tree_selection_get_selected (GtkTreeSelection *selection,
*
* To free the return value, use:
* |[
* g_list_foreach (list, gtk_tree_path_free, NULL);
* g_list_foreach (list, (GFunc) gtk_tree_path_free, NULL);
* g_list_free (list);
* ]|
*