forked from AuroraMiddleware/gtk
[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:
parent
f8b8bb4bf9
commit
1abc649b8c
@ -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);
|
||||
* ]|
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user